more fix for ie + geoloc + https
authorx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 24 Jul 2006 22:52:32 +0000 (22:52 +0000)
committerx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 24 Jul 2006 22:52:32 +0000 (22:52 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.10@635 839d8a87-29fc-0310-9880-83ba4fa771e5

htdocs/geoloc/dynamap.php
htdocs/geoloc/getCityInfos.php

index 971b12e..5516f66 100644 (file)
@@ -26,7 +26,7 @@ new_nonhtml_page('', AUTH_COOKIE);
 
 header("Content-type: application/x-shockwave-flash");
 
-if (1 || $globals->geoloc->use_map()) {
+if ($globals->geoloc->use_map()) {
     $s = file_get_contents($globals->geoloc->dynamap_path);
     header("Content-length: ".strlen($s));
     header("Pragma:");
index 5014135..83e950b 100644 (file)
@@ -25,6 +25,7 @@ require_once('xorg.inc.php');
 header("Content-type: text/xml");
 
 new_nonhtml_page('geoloc/getCityInfos.tpl', AUTH_COOKIE);
+header("Pragma:");
 // to debug sql use the next line
 //new_skinned_page('', AUTH_COOKIE);