[Mapbender-commits] r1436 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jun 5 06:05:57 EDT 2007


Author: christoph
Date: 2007-06-05 06:05:57 -0400 (Tue, 05 Jun 2007)
New Revision: 1436

Modified:
   trunk/mapbender/http/javascripts/mod_displayWmc.php
Log:
deactivated short_open_tag

This setting is necessary because otherwise the XML
(beginning with "<?xml") will be interpreted as php!

didn't work

trying htmlentities with deactivated header


Modified: trunk/mapbender/http/javascripts/mod_displayWmc.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_displayWmc.php	2007-06-05 10:04:37 UTC (rev 1435)
+++ trunk/mapbender/http/javascripts/mod_displayWmc.php	2007-06-05 10:05:57 UTC (rev 1436)
@@ -29,7 +29,7 @@
 		if ($wmc_gml){
 			//Display WMC
  
-			header("Content-type: application/xhtml+xml; charset=".CHARSET);
+			//header("Content-type: application/xhtml+xml; charset=".CHARSET);
 			echo htmlentities($wmc_gml);
 		}
 		else{



More information about the Mapbender_commits mailing list