[Mapbender-commits] r9763 - trunk/mapbender/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Aug 18 05:25:30 PDT 2017
Author: armin11
Date: 2017-08-18 05:25:30 -0700 (Fri, 18 Aug 2017)
New Revision: 9763
Modified:
trunk/mapbender/http/classes/class_gml_geometry.php
Log:
Bugfix for GML 3 to geojson handling
Modified: trunk/mapbender/http/classes/class_gml_geometry.php
===================================================================
--- trunk/mapbender/http/classes/class_gml_geometry.php 2017-08-18 11:12:00 UTC (rev 9762)
+++ trunk/mapbender/http/classes/class_gml_geometry.php 2017-08-18 12:25:30 UTC (rev 9763)
@@ -45,7 +45,7 @@
public function isLatLonSrs ($geomSrs) {
//use user defined $latLonSrsArray from file epsg.php for check
- include(dirname(__FILE__)."/../../core/epsg.php");
+ require_once(dirname(__FILE__)."/../../core/epsg.php");
$pattern = '/urn/';
if(preg_match($pattern, $geomSrs)) {
@@ -59,4 +59,4 @@
return false;
}
}
-?>
\ No newline at end of file
+?>
More information about the Mapbender_commits
mailing list