svn commit: r871 - trunk/mapbender/http/php/mod_help.php
christoph at osgeo.org
christoph at osgeo.org
Mon Nov 20 09:34:29 EST 2006
Author: christoph
Date: 2006-11-20 14:34:29+0000
New Revision: 871
Modified:
trunk/mapbender/http/php/mod_help.php
Log:
include via dirname(__FILE__)
Modified: trunk/mapbender/http/php/mod_help.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_help.php?view=diff&rev=871&p1=trunk/mapbender/http/php/mod_help.php&p2=trunk/mapbender/http/php/mod_help.php&r1=870&r2=871
==============================================================================
--- trunk/mapbender/http/php/mod_help.php (original)
+++ trunk/mapbender/http/php/mod_help.php 2006-11-20 14:34:29+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);
@@ -28,7 +28,7 @@
<?php
$e_id_css = 'help';
$gui_id = $_REQUEST["gui_id"];
-include("../include/dyn_php.php");
+include(dirname(__FILE__)."/../include/dyn_php.php");
if(!isset($mod_help_width)){
$mod_help_width = 1000;
}
More information about the Mapbender_commits
mailing list