svn commit: r829 - trunk/mapbender/http/javascripts/mod_addWMS.php

christoph at osgeo.org christoph at osgeo.org
Mon Nov 20 08:38:29 EST 2006


Author: christoph
Date: 2006-11-20 13:38:29+0000
New Revision: 829

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

Log:
include via dirname(__FILE__)

Modified: trunk/mapbender/http/javascripts/mod_addWMS.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_addWMS.php?view=diff&rev=829&p1=trunk/mapbender/http/javascripts/mod_addWMS.php&p2=trunk/mapbender/http/javascripts/mod_addWMS.php&r1=828&r2=829
==============================================================================
--- trunk/mapbender/http/javascripts/mod_addWMS.php	(original)
+++ trunk/mapbender/http/javascripts/mod_addWMS.php	2006-11-20 13:38:29+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_requires, e_target FROM gui_element WHERE e_id = 'addWMS' AND fkey_gui_id = $1";




More information about the Mapbender_commits mailing list