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