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
@@ -14,7 +14,7 @@ $transparency = 15;
|
||||
|
||||
$rrd_filename = rrd_name($device['hostname'], array('app', $name, $app_id));
|
||||
|
||||
if (is_file($rrd_filename)) {
|
||||
if (rrdtool_check_rrd_exists($rrd_filename)) {
|
||||
$rrd_list = array(
|
||||
array(
|
||||
'filename' => $rrd_filename,
|
||||
|
||||
Reference in New Issue
Block a user