change is_file to rrdtool_check_rrd_exists. (#8169)

This commit is contained in:
Leandro Maciel
2018-01-29 13:52:22 -02:00
committed by Tony Murray
parent 20335bce5d
commit 06aa3b23f2
37 changed files with 37 additions and 37 deletions

View File

@@ -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,