diff --git a/html/includes/graphs/graph.inc.php b/html/includes/graphs/graph.inc.php index c7bd5eae6..d8e2bb375 100644 --- a/html/includes/graphs/graph.inc.php +++ b/html/includes/graphs/graph.inc.php @@ -116,7 +116,7 @@ if(!$auth) $rrd_cmd = $config['rrdtool'] . " graph $graphfile $rrd_options" . $rrd_switches; $woo = shell_exec($rrd_cmd); if($_GET['debug']) { echo("
".$rrd_cmd.""); } - if(is_file($graphfile) && 0) { + if(is_file($graphfile)) { header('Content-type: image/png'); $fd = fopen($graphfile,'r');fpassthru($fd);fclose($fd); unlink($graphfile);