diff options
author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-01-24 13:20:44 +0000 |
---|---|---|
committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-01-24 13:20:44 +0000 |
commit | 4c3c487681ffd4c369b2bd781aa0b16f9a87dd10 (patch) | |
tree | c592ebbc65182ed484a49a8d7ad9dd2eb31ce346 /frontends/php/chart_sla.php | |
parent | 7860b35f1b11ff31cd826aefc477174f654f8147 (diff) | |
download | zabbix-4c3c487681ffd4c369b2bd781aa0b16f9a87dd10.tar.gz zabbix-4c3c487681ffd4c369b2bd781aa0b16f9a87dd10.tar.xz zabbix-4c3c487681ffd4c369b2bd781aa0b16f9a87dd10.zip |
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@664 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart_sla.php')
-rw-r--r-- | frontends/php/chart_sla.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/frontends/php/chart_sla.php b/frontends/php/chart_sla.php index 7d513ad7..8709a133 100644 --- a/frontends/php/chart_sla.php +++ b/frontends/php/chart_sla.php @@ -42,8 +42,8 @@ $nodata=1; -// Header( "Content-type: text/html"); - Header( "Content-type: image/png"); + Header( "Content-type: text/html"); +// Header( "Content-type: image/png"); Header( "Expires: Mon, 17 Aug 1998 12:51:50 GMT"); check_authorisation(); @@ -71,6 +71,9 @@ $true=$stat["true"]; $false=$stat["false"]; + echo $true," ",$false; + exit; + ImageFilledRectangle($im,$sizeX-$sizeX*$true/100,0,$sizeX,$sizeY,$darkred); ImageString($im, 2,1,1, "$true | $false" , $darkred); ImagePng($im); |