From fb3befd29da265fc510bf6d3f7a8554bdc12e83c Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Mon, 2 Aug 2010 16:38:03 +0000 Subject: [PATCH] fix broken graphs with disabled short tags git-svn-id: http://www.observium.org/svn/observer/trunk@1613 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/graphs/application/auth.inc.php | 2 +- html/includes/graphs/customer/auth.inc.php | 2 +- html/includes/graphs/device/auth.inc.php | 2 +- html/includes/graphs/graph.inc.php | 47 +++++++++---------- html/includes/graphs/mempool/auth.inc.php | 6 +-- html/includes/graphs/multiport/auth.inc.php | 2 +- html/includes/graphs/port/auth.inc.php | 2 +- html/includes/graphs/processor/auth.inc.php | 2 +- html/includes/graphs/storage/auth.inc.php | 2 +- 9 files changed, 33 insertions(+), 34 deletions(-) diff --git a/html/includes/graphs/application/auth.inc.php b/html/includes/graphs/application/auth.inc.php index d73038bb6e..c8a5701dfb 100644 --- a/html/includes/graphs/application/auth.inc.php +++ b/html/includes/graphs/application/auth.inc.php @@ -1,4 +1,4 @@ -= "5") { diff --git a/html/includes/graphs/device/auth.inc.php b/html/includes/graphs/device/auth.inc.php index 8fdbe9994e..7487d44a44 100644 --- a/html/includes/graphs/device/auth.inc.php +++ b/html/includes/graphs/device/auth.inc.php @@ -1,4 +1,4 @@ -".$rrd_cmd.""); } -# $thing = popen($config['rrdtool'] . " -",'w'); -# fputs($thing, "graph $graphfile $rrd_options"); -# pclose($thing); if(is_file($graphfile)) { header('Content-type: image/png'); $fd = fopen($graphfile,'r');fpassthru($fd);fclose($fd); @@ -118,5 +118,4 @@ if(!$auth) } } - ?> diff --git a/html/includes/graphs/mempool/auth.inc.php b/html/includes/graphs/mempool/auth.inc.php index 3a8b7614cd..7b19754183 100755 --- a/html/includes/graphs/mempool/auth.inc.php +++ b/html/includes/graphs/mempool/auth.inc.php @@ -1,8 +1,8 @@ -