svn commit: r912 - trunk/mapbender/http/html/mod_treefolder_auge.php

christoph at osgeo.org christoph at osgeo.org
Tue Nov 21 05:45:40 EST 2006


Author: christoph
Date: 2006-11-21 10:45:40+0000
New Revision: 912

Modified:
   trunk/mapbender/http/html/mod_treefolder_auge.php

Log:
include via dirname(__FILE__)

Modified: trunk/mapbender/http/html/mod_treefolder_auge.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/html/mod_treefolder_auge.php?view=diff&rev=912&p1=trunk/mapbender/http/html/mod_treefolder_auge.php&p2=trunk/mapbender/http/html/mod_treefolder_auge.php&r1=911&r2=912
==============================================================================
--- trunk/mapbender/http/html/mod_treefolder_auge.php	(original)
+++ trunk/mapbender/http/html/mod_treefolder_auge.php	2006-11-21 10:45:40+0000
@@ -1,6 +1,6 @@
 <?php
 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"];
@@ -34,7 +34,7 @@
    
    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);
    $sql = "SELECT e_target FROM gui_element WHERE e_id = '".$_REQUEST['e_id_css']."' AND fkey_gui_id = '".$_SESSION["mb_user_gui"]."'";




More information about the Mapbender_commits mailing list