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

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


Author: christoph
Date: 2006-11-20 14:18:29+0000
New Revision: 861

Modified:
   trunk/mapbender/http/php/mod_group_filteredGui.php
   trunk/mapbender/http/php/mod_group_filteredUser.php
   trunk/mapbender/http/php/mod_group_gui.php
   trunk/mapbender/http/php/mod_group_user.php
   trunk/mapbender/http/php/mod_gui_filteredGroup.php
   trunk/mapbender/http/php/mod_gui_filteredUser.php
   trunk/mapbender/http/php/mod_gui_group.php
   trunk/mapbender/http/php/mod_gui_user.php

Log:
include via dirname(__FILE__)

Modified: trunk/mapbender/http/php/mod_group_filteredGui.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_group_filteredGui.php?view=diff&rev=861&p1=trunk/mapbender/http/php/mod_group_filteredGui.php&p2=trunk/mapbender/http/php/mod_group_filteredGui.php&r1=860&r2=861
==============================================================================
--- trunk/mapbender/http/php/mod_group_filteredGui.php	(original)
+++ trunk/mapbender/http/php/mod_group_filteredGui.php	2006-11-20 14:18:29+0000
@@ -18,10 +18,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"];
 
 ?>
@@ -64,7 +64,7 @@
 <body>
 <?php
 
-require_once("../php/mb_getGUIs.php");
+require_once(dirname(__FILE__)."/../php/mb_getGUIs.php");
 
 $fieldHeight = 20;
 

Modified: trunk/mapbender/http/php/mod_group_filteredUser.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_group_filteredUser.php?view=diff&rev=861&p1=trunk/mapbender/http/php/mod_group_filteredUser.php&p2=trunk/mapbender/http/php/mod_group_filteredUser.php&r1=860&r2=861
==============================================================================
--- trunk/mapbender/http/php/mod_group_filteredUser.php	(original)
+++ trunk/mapbender/http/php/mod_group_filteredUser.php	2006-11-20 14:18:29+0000
@@ -18,10 +18,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_group_gui.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_group_gui.php?view=diff&rev=861&p1=trunk/mapbender/http/php/mod_group_gui.php&p2=trunk/mapbender/http/php/mod_group_gui.php&r1=860&r2=861
==============================================================================
--- trunk/mapbender/http/php/mod_group_gui.php	(original)
+++ trunk/mapbender/http/php/mod_group_gui.php	2006-11-20 14:18:29+0000
@@ -19,10 +19,10 @@
 
 
 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_group_user.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_group_user.php?view=diff&rev=861&p1=trunk/mapbender/http/php/mod_group_user.php&p2=trunk/mapbender/http/php/mod_group_user.php&r1=860&r2=861
==============================================================================
--- trunk/mapbender/http/php/mod_group_user.php	(original)
+++ trunk/mapbender/http/php/mod_group_user.php	2006-11-20 14:18:29+0000
@@ -18,10 +18,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_gui_filteredGroup.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_gui_filteredGroup.php?view=diff&rev=861&p1=trunk/mapbender/http/php/mod_gui_filteredGroup.php&p2=trunk/mapbender/http/php/mod_gui_filteredGroup.php&r1=860&r2=861
==============================================================================
--- trunk/mapbender/http/php/mod_gui_filteredGroup.php	(original)
+++ trunk/mapbender/http/php/mod_gui_filteredGroup.php	2006-11-20 14:18:29+0000
@@ -18,10 +18,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">
@@ -62,7 +62,7 @@
 <body>
 <?php
 
-require_once("../php/mb_getGUIs.php");
+require_once(dirname(__FILE__)."/../php/mb_getGUIs.php");
 
 $fieldHeight = 20;
 

Modified: trunk/mapbender/http/php/mod_gui_filteredUser.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_gui_filteredUser.php?view=diff&rev=861&p1=trunk/mapbender/http/php/mod_gui_filteredUser.php&p2=trunk/mapbender/http/php/mod_gui_filteredUser.php&r1=860&r2=861
==============================================================================
--- trunk/mapbender/http/php/mod_gui_filteredUser.php	(original)
+++ trunk/mapbender/http/php/mod_gui_filteredUser.php	2006-11-20 14:18:29+0000
@@ -18,10 +18,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">
@@ -61,7 +61,7 @@
 </head>
 <body>
 <?php
-require_once("../php/mb_getGUIs.php");
+require_once(dirname(__FILE__)."/../php/mb_getGUIs.php");
 
 $fieldHeight = 20;
 

Modified: trunk/mapbender/http/php/mod_gui_group.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_gui_group.php?view=diff&rev=861&p1=trunk/mapbender/http/php/mod_gui_group.php&p2=trunk/mapbender/http/php/mod_gui_group.php&r1=860&r2=861
==============================================================================
--- trunk/mapbender/http/php/mod_gui_group.php	(original)
+++ trunk/mapbender/http/php/mod_gui_group.php	2006-11-20 14:18:29+0000
@@ -18,10 +18,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">
@@ -61,7 +61,7 @@
 </head>
 <body>
 <?php
-require_once("../../conf/mapbender.conf");
+require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
 $con = db_connect($DBSERVER,$OWNER,$PW);
 db_select_db(DB,$con);
 

Modified: trunk/mapbender/http/php/mod_gui_user.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_gui_user.php?view=diff&rev=861&p1=trunk/mapbender/http/php/mod_gui_user.php&p2=trunk/mapbender/http/php/mod_gui_user.php&r1=860&r2=861
==============================================================================
--- trunk/mapbender/http/php/mod_gui_user.php	(original)
+++ trunk/mapbender/http/php/mod_gui_user.php	2006-11-20 14:18:29+0000
@@ -18,10 +18,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">




More information about the Mapbender_commits mailing list