summaryrefslogtreecommitdiffstats
path: root/frontends/php/map.php
diff options
context:
space:
mode:
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();