mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
potentially break all cisco versioning :P
git-svn-id: http://www.observium.org/svn/observer/trunk@2912 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -41,7 +41,15 @@ $config['sfdp'] = "/usr/bin/sfdp";
|
||||
|
||||
if (isset($_SERVER["SERVER_NAME"]) && isset($_SERVER["SERVER_PORT"]))
|
||||
{
|
||||
if (strpos($_SERVER["SERVER_NAME"] , ":"))
|
||||
{
|
||||
# Litteral IPv6
|
||||
$config['base_url'] = "http://[" . $_SERVER["SERVER_NAME"] ."]:".$_SERVER["SERVER_PORT"]."/";
|
||||
}
|
||||
else
|
||||
{
|
||||
$config['base_url'] = "http://" . $_SERVER["SERVER_NAME"] .":".$_SERVER["SERVER_PORT"]."/";
|
||||
}
|
||||
}
|
||||
|
||||
$config['title_image'] = "images/observium-logo.png";
|
||||
@@ -194,6 +202,7 @@ $config['nfsen_enable'] = 0;
|
||||
#$config['nfsen_suffix'] = "_yourdomain_com";
|
||||
|
||||
### Ignores & Allows
|
||||
# Has to be lowercase
|
||||
|
||||
$config['bad_if'][] = "voip-null";
|
||||
$config['bad_if'][] = "virtual-";
|
||||
|
||||
Reference in New Issue
Block a user