svn commit: r858 - trunk/mapbender/http/javascripts

christoph at osgeo.org christoph at osgeo.org
Mon Nov 20 09:10:24 EST 2006


Author: christoph
Date: 2006-11-20 14:10:23+0000
New Revision: 858

Modified:
   trunk/mapbender/http/javascripts/mod_measure.php
   trunk/mapbender/http/javascripts/mod_navFrame.php

Log:
include via dirname(__FILE__)

Modified: trunk/mapbender/http/javascripts/mod_measure.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_measure.php?view=diff&rev=858&p1=trunk/mapbender/http/javascripts/mod_measure.php&p2=trunk/mapbender/http/javascripts/mod_measure.php&r1=857&r2=858
==============================================================================
--- trunk/mapbender/http/javascripts/mod_measure.php	(original)
+++ trunk/mapbender/http/javascripts/mod_measure.php	2006-11-20 14:10:23+0000
@@ -17,7 +17,7 @@
 # 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("../../conf/mapbender.conf");
+require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
 
 $gui_id = $_REQUEST["gui_id"];
 $con = db_connect($DBSERVER,$OWNER,$PW);

Modified: trunk/mapbender/http/javascripts/mod_navFrame.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_navFrame.php?view=diff&rev=858&p1=trunk/mapbender/http/javascripts/mod_navFrame.php&p2=trunk/mapbender/http/javascripts/mod_navFrame.php&r1=857&r2=858
==============================================================================
--- trunk/mapbender/http/javascripts/mod_navFrame.php	(original)
+++ trunk/mapbender/http/javascripts/mod_navFrame.php	2006-11-20 14:10:23+0000
@@ -19,7 +19,7 @@
 
 
 $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_target,e_src FROM gui_element WHERE e_id = 'navFrame' AND fkey_gui_id = $1";




More information about the Mapbender_commits mailing list