[Mapbender-commits] r2494 - trunk/mapbender/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Jun 9 10:24:10 EDT 2008
Author: christoph
Date: 2008-06-09 10:24:10 -0400 (Mon, 09 Jun 2008)
New Revision: 2494
Modified:
trunk/mapbender/http/classes/class_json.php
Log:
bug fix
Modified: trunk/mapbender/http/classes/class_json.php
===================================================================
--- trunk/mapbender/http/classes/class_json.php 2008-06-09 14:22:44 UTC (rev 2493)
+++ trunk/mapbender/http/classes/class_json.php 2008-06-09 14:24:10 UTC (rev 2494)
@@ -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