[Mapbender-commits] r6934 - in trunk/mapbender: core http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Sep 23 10:01:16 EDT 2010


Author: christoph
Date: 2010-09-23 14:01:16 +0000 (Thu, 23 Sep 2010)
New Revision: 6934

Modified:
   trunk/mapbender/core/system.php
   trunk/mapbender/http/javascripts/initWmcObj.php
Log:
debugging

Modified: trunk/mapbender/core/system.php
===================================================================
--- trunk/mapbender/core/system.php	2010-09-23 11:08:16 UTC (rev 6933)
+++ trunk/mapbender/core/system.php	2010-09-23 14:01:16 UTC (rev 6934)
@@ -53,7 +53,7 @@
 unset($pathArray);
 
 # FirePHP error log re-routing
-define("LOG_PHP_WITH_FIREPHP", "off"); // "on" or "off"
+define("LOG_PHP_WITH_FIREPHP", "on"); // "on" or "off"
 
 define("MODULES_NOT_RELYING_ON_GLOBALS",
 	"mapframe1,featureInfo1,gazetteerWFS,back,forward,zoomCoords,zoomFull,zoomIn1," .

Modified: trunk/mapbender/http/javascripts/initWmcObj.php
===================================================================
--- trunk/mapbender/http/javascripts/initWmcObj.php	2010-09-23 11:08:16 UTC (rev 6933)
+++ trunk/mapbender/http/javascripts/initWmcObj.php	2010-09-23 14:01:16 UTC (rev 6934)
@@ -175,6 +175,7 @@
 		}
 		else {
 			$wms = $wmsFactory->createLayerFromDb($input["id"]);
+			$firephp->log($wms);
 		}
 		$options = array();
 		if ($input["visible"]) {
@@ -206,10 +207,12 @@
 
 //workaround to have a fully merged WMC for loading
 
+$firephp->log($wmc);
 $xml = $wmc->toXml();
 
 $wmc = new wmc();
 $wmc->createFromXml($xml);
+$firephp->log($wmc);
 
 $output = $wmc->wmsToJavaScript();
 



More information about the Mapbender_commits mailing list