mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
updated rrdtool ver check to wrap quotes around (#6393)
This commit is contained in:
parent
5ce9b6b2e8
commit
069020cb80
@ -335,7 +335,7 @@ foreach ($bins as $bin) {
|
||||
|
||||
// Check that rrdtool config version is what we see
|
||||
if (isset($config['rrdtool_version']) && (version_compare($config['rrdtool_version'], $versions['rrdtool_ver'], '>'))) {
|
||||
print_fail('The rrdtool version you have specified is newer than what is installed.', "Either comment out \$config['rrdtool_version'] = {$config['rrdtool_version']}; or set \$config['rrdtool_version'] = {$versions['rrdtool_ver']};");
|
||||
print_fail('The rrdtool version you have specified is newer than what is installed.', "Either comment out \$config['rrdtool_version'] = '{$config['rrdtool_version']}'; or set \$config['rrdtool_version'] = '{$versions['rrdtool_ver']}';");
|
||||
}
|
||||
|
||||
$disabled_functions = explode(',', ini_get('disable_functions'));
|
||||
|
Loading…
Reference in New Issue
Block a user