[Mapbender-commits] r1173 - trunk/mapbender/http/extensions

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Mar 2 11:19:30 EST 2007


Author: astrid_emde
Date: 2007-03-02 11:19:30 -0500 (Fri, 02 Mar 2007)
New Revision: 1173

Modified:
   trunk/mapbender/http/extensions/geom2wfst.php
Log:
mb_exception of the wfs-filter

Modified: trunk/mapbender/http/extensions/geom2wfst.php
===================================================================
--- trunk/mapbender/http/extensions/geom2wfst.php	2007-03-02 16:18:35 UTC (rev 1172)
+++ trunk/mapbender/http/extensions/geom2wfst.php	2007-03-02 16:19:30 UTC (rev 1173)
@@ -17,9 +17,11 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-require_once("../../conf/mapbender.conf");
-require_once("../classes/class_mb_exception.php");
 
+require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
+require_once(dirname(__FILE__)."/../classes/class_mb_exception.php");
+
+
 function sepNameSpace($s){
 	$c = strpos($s,":"); 
 	if($c>0) return substr($s,$c+1);
@@ -99,9 +101,10 @@
 	$e = new mb_exception('WFS successfull host: '.$host.' port: '.$port.' filter: '.$_REQUEST["filter"]);
 }
 */
-$e = new mb_exception('WFS transaction: '.$data);
 
+$e = new mb_exception('WFS-T: '.$filter);
 
+
 header('Content-type: text/html');
 echo "{";  
 if (stristr($data, "success") !== false) {



More information about the Mapbender_commits mailing list