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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jun 5 05:55:54 EDT 2007


Author: christoph
Date: 2007-06-05 05:55:54 -0400 (Tue, 05 Jun 2007)
New Revision: 1433

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!

2nd try

Modified: trunk/mapbender/http/javascripts/mod_displayWmc.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_displayWmc.php	2007-06-05 09:47:31 UTC (rev 1432)
+++ trunk/mapbender/http/javascripts/mod_displayWmc.php	2007-06-05 09:55:54 UTC (rev 1433)
@@ -31,7 +31,7 @@
  
 			// This setting is necessary because otherwise the XML
 			// (beginning with "<?xml") will be interpreted as php!
-			ini_set("short_open_tag", "Off");
+			ini_set("short_open_tag", 0);
 			header("Content-type: application/xhtml+xml; charset=".CHARSET);
 			echo $wmc_gml;
 		}



More information about the Mapbender_commits mailing list