[Mapbender-commits] r8407 - branches/2.7/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jul 3 00:29:41 PDT 2012


Author: tbaschetti
Date: 2012-07-03 00:29:41 -0700 (Tue, 03 Jul 2012)
New Revision: 8407

Modified:
   branches/2.7/http/classes/
   branches/2.7/http/classes/class_weldMaps2PNG_rotate.php
Log:
substituded split() with explode (split is deprecated in PHP >= 5.3) 



Property changes on: branches/2.7/http/classes
___________________________________________________________________
Modified: svn:ignore
   - .class_locale.php.swp
.class_metadata_new.php.swp
.class_metadata.php.swp

   + .class_locale.php.swp
.class_metadata_new.php.swp
.class_metadata.php.swp
.class_weldMaps2PNG_rotate.php.swp


Modified: branches/2.7/http/classes/class_weldMaps2PNG_rotate.php
===================================================================
--- branches/2.7/http/classes/class_weldMaps2PNG_rotate.php	2012-07-03 07:29:33 UTC (rev 8406)
+++ branches/2.7/http/classes/class_weldMaps2PNG_rotate.php	2012-07-03 07:29:41 UTC (rev 8407)
@@ -50,7 +50,7 @@
             $obj->set("height", $neededHeight);
                 
             $map_extent = $obj->get("BBOX");
-            $coord = split(",",$map_extent);
+            $coord = explode(",",$map_extent);
             $coord = $this->enlargeExtent($coord, $width, $height, $neededWidth, $neededHeight);
             
             $obj->set("BBOX", implode(",", $coord));



More information about the Mapbender_commits mailing list