[Mapbender-commits] r2186 - branches/2.4.5/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Mar 6 05:56:31 EST 2008


Author: christoph
Date: 2008-03-06 05:56:31 -0500 (Thu, 06 Mar 2008)
New Revision: 2186

Modified:
   branches/2.4.5/http/php/mod_wfs_gazetteer_server.php
Log:
refactoring

Modified: branches/2.4.5/http/php/mod_wfs_gazetteer_server.php
===================================================================
--- branches/2.4.5/http/php/mod_wfs_gazetteer_server.php	2008-03-06 10:55:33 UTC (rev 2185)
+++ branches/2.4.5/http/php/mod_wfs_gazetteer_server.php	2008-03-06 10:56:31 UTC (rev 2186)
@@ -18,13 +18,10 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
-include(dirname(__FILE__)."/../classes/class_gml2.php");
+require_once(dirname(__FILE__)."/../classes/class_gml2.php");
 require_once(dirname(__FILE__)."/../extensions/JSON.php");
 require_once(dirname(__FILE__)."/../classes/class_administration.php");
 
-$con = db_connect($DBSERVER,$OWNER,$PW);
-db_select_db($DB,$con);
-
 $command = $_REQUEST["command"];
 
 function checkAccessConstraint($filter, $wfs_conf_id) {



More information about the Mapbender_commits mailing list