svn commit: r838 - trunk/mapbender/http/javascripts/mod_displayWmc.php

christoph at osgeo.org christoph at osgeo.org
Mon Nov 20 08:46:21 EST 2006


Author: christoph
Date: 2006-11-20 13:46:20+0000
New Revision: 838

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

Log:
include via dirname(__FILE__)

Modified: trunk/mapbender/http/javascripts/mod_displayWmc.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_displayWmc.php?view=diff&rev=838&p1=trunk/mapbender/http/javascripts/mod_displayWmc.php&p2=trunk/mapbender/http/javascripts/mod_displayWmc.php&r1=837&r2=838
==============================================================================
--- trunk/mapbender/http/javascripts/mod_displayWmc.php	(original)
+++ trunk/mapbender/http/javascripts/mod_displayWmc.php	2006-11-20 13:46:20+0000
@@ -17,12 +17,12 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-include_once("../../conf/mapbender.conf");
+include_once(dirname(__FILE__)."/../../conf/mapbender.conf");
 
 	$wmc_id = $_GET["wmc_id"];
 
 	if ($wmc_id){
-		require_once("../classes/class_administration.php");
+		require_once(dirname(__FILE__)."/../classes/class_administration.php");
 		$admin = new administration();
 		$wmc_gml = $admin->getWmcById($wmc_id);
 




More information about the Mapbender_commits mailing list