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

@@ -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'];