autogenerate $config['base_url'] (why didn't we do this all along?)

git-svn-id: http://www.observium.org/svn/observer/trunk@1490 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-07-26 20:54:59 +00:00
parent f2dd9a0a56
commit c50a124359
2 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,7 @@ $config['rrd_dir'] = $config['install_dir'] . "/rrd";
$config['log_file'] = $config['install_dir'] . "/observium.log";
###
$config['base_url'] = "http://obeservium.company.com";
$config['base_url'] = "http://observium.company.com";
### Enable the below to use rrdcached. be sure rrd_dir is within the rrdcached dir
### and that your web server has permission to talk to rrdcached.

View File

@ -29,6 +29,7 @@ $config['nagios_plugins'] = "/usr/lib/nagios/plugins";
### Web Interface Settings
$config['base_url'] = "http://" . $_SERVER["SERVER_NAME"] .":".$_SERVER["SERVER_PORT"];
$config['title_image'] = "images/observium-logo.png";
$config['stylesheet'] = "css/styles.css";
$config['mono_font'] = "DejaVuSansMono";