svn commit: r897 - trunk/mapbender/http/javascripts/mod_digitize_js.php
christoph at osgeo.org
christoph at osgeo.org
Tue Nov 21 03:20:05 EST 2006
Author: christoph
Date: 2006-11-21 08:20:05+0000
New Revision: 897
Modified:
trunk/mapbender/http/javascripts/mod_digitize_js.php
Log:
include via dirname(__FILE__)
Modified: trunk/mapbender/http/javascripts/mod_digitize_js.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_digitize_js.php?view=diff&rev=897&p1=trunk/mapbender/http/javascripts/mod_digitize_js.php&p2=trunk/mapbender/http/javascripts/mod_digitize_js.php&r1=896&r2=897
==============================================================================
--- trunk/mapbender/http/javascripts/mod_digitize_js.php (original)
+++ trunk/mapbender/http/javascripts/mod_digitize_js.php 2006-11-21 08:20:05+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 = 'digitize' AND fkey_gui_id = $1";
More information about the Mapbender_commits
mailing list