svn commit: r846 - trunk/mapbender/http/javascripts/mod_help.php
christoph at osgeo.org
christoph at osgeo.org
Mon Nov 20 08:50:51 EST 2006
Author: christoph
Date: 2006-11-20 13:50:51+0000
New Revision: 846
Modified:
trunk/mapbender/http/javascripts/mod_help.php
Log:
include via dirname(__FILE__)
Modified: trunk/mapbender/http/javascripts/mod_help.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_help.php?view=diff&rev=846&p1=trunk/mapbender/http/javascripts/mod_help.php&p2=trunk/mapbender/http/javascripts/mod_help.php&r1=845&r2=846
==============================================================================
--- trunk/mapbender/http/javascripts/mod_help.php (original)
+++ trunk/mapbender/http/javascripts/mod_help.php 2006-11-20 13:50:51+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");
$con = db_connect(DBSERVER,OWNER,PW);
db_select_db(DB,$con);
$gui_id = $_REQUEST["gui_id"];
@@ -32,7 +32,7 @@
$cnt++;
}
$e_id_css = 'help';
-include("../include/dyn_js.php");
+include(dirname(__FILE__)."/../include/dyn_js.php");
if($cnt > 1){ echo "alert('help: ID not unique!');";}
?>
try{if(mod_help_color){}}catch(e){mod_help_color = '#cc33cc';}
More information about the Mapbender_commits
mailing list