From e2fa3e1fa99adbebd912b9da48dd351f7fc38182 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Mon, 2 Aug 2010 22:25:42 +0000 Subject: [PATCH] minus debug :> git-svn-id: http://www.observium.org/svn/observer/trunk@1628 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/graphs/graph.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);