[Mapbender-commits] r2486 - branches/beck_dev/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jun 9 08:33:59 EDT 2008


Author: christoph
Date: 2008-06-09 08:33:59 -0400 (Mon, 09 Jun 2008)
New Revision: 2486

Modified:
   branches/beck_dev/mapbender/http/classes/class_json.php
Log:
http://trac.osgeo.org/mapbender/ticket/239

Modified: branches/beck_dev/mapbender/http/classes/class_json.php
===================================================================
--- branches/beck_dev/mapbender/http/classes/class_json.php	2008-06-09 12:33:15 UTC (rev 2485)
+++ branches/beck_dev/mapbender/http/classes/class_json.php	2008-06-09 12:33:59 UTC (rev 2486)
@@ -26,7 +26,7 @@
 define("JSON_NATIVE", "json_native");
 
 if (!function_exists("json_encode")) {
-	require_once(dirname(__FILE__)."/../classes/class_json.php");
+	require_once(dirname(__FILE__)."/../extensions/JSON.php");
 }
 
 /**
@@ -70,7 +70,7 @@
 	 */
 	public function decode($aString) {
 		if ($this->library == JSON_PEAR) {
-			$pear = new Mapbender_JSON();
+			$pear = new Services_JSON();
 			$e = new mb_notice("using PEAR JSON");
 			return $pear->decode($aString);
 		}



More information about the Mapbender_commits mailing list