git-svn-id: http://www.observium.org/svn/observer/trunk@499 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2009-10-28 23:39:05 +00:00
parent 02caf4abc7
commit 4ce992afb1
3 changed files with 58 additions and 28 deletions

View File

@@ -49,7 +49,7 @@ if($_GET['debug']) {
}
if($rrd_options) {
# echo("<pre>".$config['rrdtool'] . " graph $graphfile $rrd_options");
#echo("<pre>".$config['rrdtool'] . " graph $graphfile $rrd_options");
$thing = shell_exec($config['rrdtool'] . " graph $graphfile $rrd_options");
if(is_file($graphfile)) {
header('Content-type: image/png');