mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
minus debug :>
git-svn-id: http://www.observium.org/svn/observer/trunk@1628 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -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("<pre>".$rrd_cmd."</pre>"); }
|
||||
if(is_file($graphfile) && 0) {
|
||||
if(is_file($graphfile)) {
|
||||
header('Content-type: image/png');
|
||||
$fd = fopen($graphfile,'r');fpassthru($fd);fclose($fd);
|
||||
unlink($graphfile);
|
||||
|
||||
Reference in New Issue
Block a user