mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
change is_file to rrdtool_check_rrd_exists. (#8169)
This commit is contained in:
committed by
Tony Murray
parent
20335bce5d
commit
06aa3b23f2
@@ -39,7 +39,7 @@ $array = array(
|
||||
);
|
||||
|
||||
$i = 0;
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
foreach ($array as $ds => $var) {
|
||||
$rrd_list[$i]['filename'] = $rrd_filename;
|
||||
$rrd_list[$i]['descr'] = $var['descr'];
|
||||
|
||||
Reference in New Issue
Block a user