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

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


Author: christoph
Date: 2006-11-20 14:32:32+0000
New Revision: 869

Modified:
   trunk/mapbender/http/php/mod_editFilteredGroup.php
   trunk/mapbender/http/php/mod_editFilteredUser.php

Log:
include via dirname(__FILE__)

Modified: trunk/mapbender/http/php/mod_editFilteredGroup.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_editFilteredGroup.php?view=diff&rev=869&p1=trunk/mapbender/http/php/mod_editFilteredGroup.php&p2=trunk/mapbender/http/php/mod_editFilteredGroup.php&r1=868&r2=869
==============================================================================
--- trunk/mapbender/http/php/mod_editFilteredGroup.php	(original)
+++ trunk/mapbender/http/php/mod_editFilteredGroup.php	2006-11-20 14:32:32+0000
@@ -19,10 +19,10 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 import_request_variables("PG");
-require_once("../../conf/mapbender.conf");
+require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
 $con = db_connect(DBSERVER,OWNER,PW);
 db_select_db(DB,$con);
-require_once("../php/mb_validatePermission.php");
+require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
 $self = $PHP_SELF . "?".SID."&guiID=".$_REQUEST["guiID"]."&elementID=".$_REQUEST["elementID"];
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Modified: trunk/mapbender/http/php/mod_editFilteredUser.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_editFilteredUser.php?view=diff&rev=869&p1=trunk/mapbender/http/php/mod_editFilteredUser.php&p2=trunk/mapbender/http/php/mod_editFilteredUser.php&r1=868&r2=869
==============================================================================
--- trunk/mapbender/http/php/mod_editFilteredUser.php	(original)
+++ trunk/mapbender/http/php/mod_editFilteredUser.php	2006-11-20 14:32:32+0000
@@ -19,10 +19,10 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 import_request_variables("PG");
-require_once("../../conf/mapbender.conf");
+require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
 $con = db_connect($DBSERVER,$OWNER,$PW);
 db_select_db(DB,$con);
-require_once("../php/mb_validatePermission.php");
+require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
 $self = $PHP_SELF . "?".SID."&guiID=".$_REQUEST["guiID"]."&elementID=".$_REQUEST["elementID"];
 $myUser = true;
 ?>




More information about the Mapbender_commits mailing list