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

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


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

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!

3rd try

Modified: trunk/mapbender/http/javascripts/mod_displayWmc.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_displayWmc.php	2007-06-05 09:55:54 UTC (rev 1433)
+++ trunk/mapbender/http/javascripts/mod_displayWmc.php	2007-06-05 09:57:50 UTC (rev 1434)
@@ -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", 0);
+			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