mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@ -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.
|
||||
|
@ -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";
|
||||
|
Reference in New Issue
Block a user