svn commit: r862 - trunk/mapbender/http/php

christoph at osgeo.org christoph at osgeo.org
Mon Nov 20 09:20:00 EST 2006


Author: christoph
Date: 2006-11-20 14:19:59+0000
New Revision: 862

Modified:
   trunk/mapbender/http/php/mod_log.php
   trunk/mapbender/http/php/mod_map1.php
   trunk/mapbender/http/php/mod_mapOV.php

Log:
include via dirname(__FILE__)

Modified: trunk/mapbender/http/php/mod_log.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_log.php?view=diff&rev=862&p1=trunk/mapbender/http/php/mod_log.php&p2=trunk/mapbender/http/php/mod_log.php&r1=861&r2=862
==============================================================================
--- trunk/mapbender/http/php/mod_log.php	(original)
+++ trunk/mapbender/http/php/mod_log.php	2006-11-20 14:19:59+0000
@@ -16,7 +16,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-include_once("../../conf/mapbender.conf");
+include_once(dirname(__FILE__)."/../../conf/mapbender.conf");
 $con = db_connect(DBSERVER,OWNER,PW);
 db_select_db(DB,$con);
 if($_REQUEST['req']){
@@ -27,7 +27,7 @@
 	$time_client = $_REQUEST['time_client'];
 	
 	if(empty($req)){$req = "init";}
-	include("../classes/class_log.php");
+	include(dirname(__FILE__)."/../classes/class_log.php");
 	$log = new log("default", $req, $time_client);
 }
 

Modified: trunk/mapbender/http/php/mod_map1.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_map1.php?view=diff&rev=862&p1=trunk/mapbender/http/php/mod_map1.php&p2=trunk/mapbender/http/php/mod_map1.php&r1=861&r2=862
==============================================================================
--- trunk/mapbender/http/php/mod_map1.php	(original)
+++ trunk/mapbender/http/php/mod_map1.php	2006-11-20 14:19:59+0000
@@ -18,7 +18,7 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 session_start();
-require_once("../../conf/mapbender.conf");
+require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
 $con = db_connect($DBSERVER,$OWNER,$PW);
 db_select_db(DB,$con);
 $gui_id = $_SESSION["mb_user_gui"];

Modified: trunk/mapbender/http/php/mod_mapOV.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_mapOV.php?view=diff&rev=862&p1=trunk/mapbender/http/php/mod_mapOV.php&p2=trunk/mapbender/http/php/mod_mapOV.php&r1=861&r2=862
==============================================================================
--- trunk/mapbender/http/php/mod_mapOV.php	(original)
+++ trunk/mapbender/http/php/mod_mapOV.php	2006-11-20 14:19:59+0000
@@ -18,7 +18,7 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 session_start();
-require_once("../../conf/mapbender.conf");
+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