summaryrefslogtreecommitdiffstats
path: root/frontends/php/map.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-06-02 06:42:49 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-06-02 06:42:49 +0000
commit9bd43d7aea638b8c5ce7e2745ef052056bb36245 (patch)
treec4ef361d6ace0ee6e15a0560d827a7104303b89d /frontends/php/map.php
parent5f33760cba07eb31752aa71ce07853aaf3c6ac34 (diff)
downloadzabbix-9bd43d7aea638b8c5ce7e2745ef052056bb36245.tar.gz
zabbix-9bd43d7aea638b8c5ce7e2745ef052056bb36245.tar.xz
zabbix-9bd43d7aea638b8c5ce7e2745ef052056bb36245.zip
- added "set_image_header" function for global image controling (Eugene)
- Added database patch for oracle (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@2938 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/map.php')
-rw-r--r--frontends/php/map.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/frontends/php/map.php b/frontends/php/map.php
index b6198eee..84b2d086 100644
--- a/frontends/php/map.php
+++ b/frontends/php/map.php
@@ -39,10 +39,7 @@
$background = $map["background"];
$label_type = $map["label_type"];
- Header( "Content-type: text/html");
-// if(MAP_OUTPUT_FORMAT == "JPG") Header( "Content-type: image/jpeg");
-// else Header( "Content-type: image/png");
- Header( "Expires: Mon, 17 Aug 1998 12:51:50 GMT");
+ set_image_header();
check_authorisation();