svn commit: r831 - trunk/mapbender/http/javascripts/mod_addWMSfromList.php

christoph at osgeo.org christoph at osgeo.org
Mon Nov 20 08:39:55 EST 2006


Author: christoph
Date: 2006-11-20 13:39:54+0000
New Revision: 831

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

Log:
include via dirname(__FILE__)

Modified: trunk/mapbender/http/javascripts/mod_addWMSfromList.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_addWMSfromList.php?view=diff&rev=831&p1=trunk/mapbender/http/javascripts/mod_addWMSfromList.php&p2=trunk/mapbender/http/javascripts/mod_addWMSfromList.php&r1=830&r2=831
==============================================================================
--- trunk/mapbender/http/javascripts/mod_addWMSfromList.php	(original)
+++ trunk/mapbender/http/javascripts/mod_addWMSfromList.php	2006-11-20 13:39:54+0000
@@ -1,5 +1,5 @@
 <?php
-# $Id: mod_addWMSfromList.php,v 1.13 2006/03/10 12:53:41 astrid_emde Exp $
+# $Id: mod_addWMSfromList.php 76 2006-08-15 12:25:34Z heuser $
 # http://www.mapbender.org/index.php/mod_addWMSfromList.php
 # Copyright (C) 2002 CCGIS 
 #
@@ -17,8 +17,8 @@
 # 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("../php/mb_validateSession.php");
+require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
+require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
 import_request_variables("PG");
 
 ?>
@@ -66,7 +66,7 @@
 $con = db_connect($DBSERVER,$OWNER,$PW);
 db_select_db(DB,$con);
 
-require_once("../php/mb_getGUIs.php");
+require_once(dirname(__FILE__)."/../php/mb_getGUIs.php");
 
 $fieldHeight = 20;
 




More information about the Mapbender_commits mailing list