svn commit: r853 - trunk/mapbender/http/extensions

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


Author: christoph
Date: 2006-11-20 14:00:41+0000
New Revision: 853

Modified:
   trunk/mapbender/http/extensions/ext_featureInfoTunnel.php
   trunk/mapbender/http/extensions/ext_weldMaps.php
   trunk/mapbender/http/extensions/security_proxy.php

Log:
include via dirname(__FILE__)

Modified: trunk/mapbender/http/extensions/ext_featureInfoTunnel.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/extensions/ext_featureInfoTunnel.php?view=diff&rev=853&p1=trunk/mapbender/http/extensions/ext_featureInfoTunnel.php&p2=trunk/mapbender/http/extensions/ext_featureInfoTunnel.php&r1=852&r2=853
==============================================================================
--- trunk/mapbender/http/extensions/ext_featureInfoTunnel.php	(original)
+++ trunk/mapbender/http/extensions/ext_featureInfoTunnel.php	2006-11-20 14:00:41+0000
@@ -17,8 +17,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-require_once("../classes/class_stripRequest.php");
-require_once("../classes/class_connector.php");
+require_once(dirname(__FILE__)."/../classes/class_stripRequest.php");
+require_once(dirname(__FILE__)."/../classes/class_connector.php");
 import_request_variables("PG");
 session_start();
 $mr = new stripRequest(urldecode($_REQUEST["url"]));

Modified: trunk/mapbender/http/extensions/ext_weldMaps.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/extensions/ext_weldMaps.php?view=diff&rev=853&p1=trunk/mapbender/http/extensions/ext_weldMaps.php&p2=trunk/mapbender/http/extensions/ext_weldMaps.php&r1=852&r2=853
==============================================================================
--- trunk/mapbender/http/extensions/ext_weldMaps.php	(original)
+++ trunk/mapbender/http/extensions/ext_weldMaps.php	2006-11-20 14:00:41+0000
@@ -52,7 +52,7 @@
       if(!isset($factor)){
          $factor = 1;
       }
-      include("../../conf/print.conf");
+      include(dirname(__FILE__)."/../../conf/print.conf");
       $this->integrateURL = $integrateURL;
       $this->matching = $matching;
       $this->pattern = $pattern;

Modified: trunk/mapbender/http/extensions/security_proxy.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/extensions/security_proxy.php?view=diff&rev=853&p1=trunk/mapbender/http/extensions/security_proxy.php&p2=trunk/mapbender/http/extensions/security_proxy.php&r1=852&r2=853
==============================================================================
--- trunk/mapbender/http/extensions/security_proxy.php	(original)
+++ trunk/mapbender/http/extensions/security_proxy.php	2006-11-20 14:00:41+0000
@@ -20,9 +20,9 @@
 ob_start();
 session_start();
 
-require_once("../classes/class_stripRequest.php");
-require_once("../classes/class_mb_exception.php");
-include("../../conf/mapbender.conf");
+require_once(dirname(__FILE__)."/../classes/class_stripRequest.php");
+require_once(dirname(__FILE__)."/../classes/class_mb_exception.php");
+include(dirname(__FILE__)."/../../conf/mapbender.conf");
 
 $mr = urldecode($_REQUEST["mb_ows_security_proxy"]);
 $perm = false;




More information about the Mapbender_commits mailing list