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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Sep 26 05:03:47 EDT 2007


Author: christoph
Date: 2007-09-26 05:03:47 -0400 (Wed, 26 Sep 2007)
New Revision: 1685

Modified:
   trunk/mapbender/http/javascripts/mod_displayWmc.php
Log:
added warning

Modified: trunk/mapbender/http/javascripts/mod_displayWmc.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_displayWmc.php	2007-09-26 09:03:10 UTC (rev 1684)
+++ trunk/mapbender/http/javascripts/mod_displayWmc.php	2007-09-26 09:03:47 UTC (rev 1685)
@@ -17,6 +17,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 include_once(dirname(__FILE__)."/../../conf/mapbender.conf");
+include_once(dirname(__FILE__)."/../classes/class_mb_exception.php");
 
 	
 	$wmc_id = $_GET["wmc_id"];
@@ -33,6 +34,7 @@
  			// as php, because the XML begins with "<?xml "
  			if (ini_get("short_open_tag") == 1) {
 				echo htmlentities($wmc_gml);
+				$e = new mb_warning("'Allow short open tags' is 'On' in php.ini...you might want to turn it off to allow proper WMC display.'");
  			}
  			else {
 				header("Content-type: application/xhtml+xml; charset=".CHARSET);



More information about the Mapbender_commits mailing list