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:
Adam Amstrong
2012-03-20 16:50:16 +00:00
parent 8b2901cfea
commit bd243db6dc
14 changed files with 105 additions and 55 deletions
+9
View File
@@ -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-";