fix: Ensure rrdtool web settings aren't overwrote by defaults (#6698)

* fix for web settings

* revert db config

* revert description

* ensure rrdtool path is set
This commit is contained in:
crcro
2017-05-30 21:44:40 +03:00
committed by Neil Lathwood
parent 48c5e50616
commit 5af3048a76
3 changed files with 8 additions and 3 deletions

View File

@@ -26,3 +26,11 @@
if (empty($config['email_from'])) {
$config['email_from'] = '"' . $config['project_name'] . '" <' . $config['email_user'] . '@' . php_uname('n') . '>';
}
// We need rrdtool so ensure it's set
if (empty($config['rrdtool'])) {
$config['rrdtool'] = '/usr/bin/rrdtool';
}
if (empty($config['rrdtool_verion'])) {
$config['rrdtool_version'] = 1.4;
}