svn commit: r832 - trunk/mapbender/http/javascripts/mod_back.php

christoph at osgeo.org christoph at osgeo.org
Mon Nov 20 08:40:22 EST 2006


Author: christoph
Date: 2006-11-20 13:40:22+0000
New Revision: 832

Modified:
   trunk/mapbender/http/javascripts/mod_back.php

Log:
include via dirname(__FILE__)

Modified: trunk/mapbender/http/javascripts/mod_back.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_back.php?view=diff&rev=832&p1=trunk/mapbender/http/javascripts/mod_back.php&p2=trunk/mapbender/http/javascripts/mod_back.php&r1=831&r2=832
==============================================================================
--- trunk/mapbender/http/javascripts/mod_back.php	(original)
+++ trunk/mapbender/http/javascripts/mod_back.php	2006-11-20 13:40:22+0000
@@ -18,7 +18,7 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 $gui_id = $_REQUEST["gui_id"];
-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_src, e_target FROM gui_element WHERE e_id = 'back' AND fkey_gui_id = $1 ";




More information about the Mapbender_commits mailing list