[Mapbender-commits] r2005 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jan 22 03:49:11 EST 2008


Author: verenadiewald
Date: 2008-01-22 03:49:11 -0500 (Tue, 22 Jan 2008)
New Revision: 2005

Modified:
   trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php
Log:
added dirname(__FILE__). in require_once statements

Modified: trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php	2008-01-21 16:39:21 UTC (rev 2004)
+++ trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php	2008-01-22 08:49:11 UTC (rev 2005)
@@ -19,8 +19,8 @@
 
 session_start();
 import_request_variables("PG");
-require_once("../php/mb_validateSession.php");
-require_once("../../conf/mapbender.conf");
+require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
+require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
 $con = db_connect(DBSERVER,OWNER,PW);
 db_select_db(DB,$con);
 



More information about the Mapbender_commits mailing list