[Mapbender-commits] r6997 - in trunk/mapbender/http: classes php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Oct 1 10:11:14 EDT 2010


Author: christoph
Date: 2010-10-01 14:11:14 +0000 (Fri, 01 Oct 2010)
New Revision: 6997

Modified:
   trunk/mapbender/http/classes/class_wms.php
   trunk/mapbender/http/php/mod_loadwmc_server.php
Log:
exceptions for debugging

Modified: trunk/mapbender/http/classes/class_wms.php
===================================================================
--- trunk/mapbender/http/classes/class_wms.php	2010-10-01 13:37:05 UTC (rev 6996)
+++ trunk/mapbender/http/classes/class_wms.php	2010-10-01 14:11:14 UTC (rev 6997)
@@ -1163,6 +1163,9 @@
 				array_push($newLayer->layer_epsg, $currentLayerEpsg);
 			}
 		}
+		new mb_exception("................................");
+		new mb_exception(serialize($newLayer->layer_epsg));
+		new mb_exception("::::::::::::::::::::::::::::::::");
 		for ($i = 0; $i < count($currentLayer["epsg"]); $i++) {
 			if (!in_array($currentLayer["epsg"][$i], $tmpEpsgArray)) {
 				$newLayer->layer_epsg[]= array(

Modified: trunk/mapbender/http/php/mod_loadwmc_server.php
===================================================================
--- trunk/mapbender/http/php/mod_loadwmc_server.php	2010-10-01 13:37:05 UTC (rev 6996)
+++ trunk/mapbender/http/php/mod_loadwmc_server.php	2010-10-01 14:11:14 UTC (rev 6997)
@@ -56,6 +56,9 @@
 	case 'loadWmc':
 		$wmcId = $ajaxResponse->getParameter("id");
 		if ($wmc->createFromDb($wmcId)) {
+			new mb_exception("-------------------------------");
+			new mb_exception(serialize($wmc));
+			new mb_exception("===============================");
 			$updatedWMC = $wmc->updateUrlsFromDb();
 	        $wmc->createFromXml($updatedWMC);
 			



More information about the Mapbender_commits mailing list