From: x2001corpet Date: Mon, 24 Jul 2006 22:52:32 +0000 (+0000) Subject: more fix for ie + geoloc + https X-Git-Tag: xorg/0.9.10~6 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=197ea6c7a8132d47201e322a3b26d75938398880;p=platal.git more fix for ie + geoloc + https git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.10@635 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/htdocs/geoloc/dynamap.php b/htdocs/geoloc/dynamap.php index 971b12e..5516f66 100644 --- a/htdocs/geoloc/dynamap.php +++ b/htdocs/geoloc/dynamap.php @@ -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:"); diff --git a/htdocs/geoloc/getCityInfos.php b/htdocs/geoloc/getCityInfos.php index 5014135..83e950b 100644 --- a/htdocs/geoloc/getCityInfos.php +++ b/htdocs/geoloc/getCityInfos.php @@ -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);