svn commit: r839 - trunk/mapbender/http/javascripts/mod_dragMapSize.php

christoph at osgeo.org christoph at osgeo.org
Mon Nov 20 08:47:03 EST 2006


Author: christoph
Date: 2006-11-20 13:47:03+0000
New Revision: 839

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

Log:
include via dirname(__FILE__)

Modified: trunk/mapbender/http/javascripts/mod_dragMapSize.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_dragMapSize.php?view=diff&rev=839&p1=trunk/mapbender/http/javascripts/mod_dragMapSize.php&p2=trunk/mapbender/http/javascripts/mod_dragMapSize.php&r1=838&r2=839
==============================================================================
--- trunk/mapbender/http/javascripts/mod_dragMapSize.php	(original)
+++ trunk/mapbender/http/javascripts/mod_dragMapSize.php	2006-11-20 13:47:03+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 FROM gui_element WHERE e_id = 'dragMapSize' AND fkey_gui_id = $1";




More information about the Mapbender_commits mailing list