[Mapbender-commits] r7110 - trunk/mapbender/core

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Nov 11 05:17:44 EST 2010


Author: apour
Date: 2010-11-11 02:17:44 -0800 (Thu, 11 Nov 2010)
New Revision: 7110

Modified:
   trunk/mapbender/core/system.php
Log:
bugfix

Modified: trunk/mapbender/core/system.php
===================================================================
--- trunk/mapbender/core/system.php	2010-11-11 10:16:12 UTC (rev 7109)
+++ trunk/mapbender/core/system.php	2010-11-11 10:17:44 UTC (rev 7110)
@@ -75,7 +75,7 @@
  *	Function to check a path for security.
  */
 
-define("MB_BASEDIR",realpath(basedir(__FILE__)."/../http/"));
+define("MB_BASEDIR",realpath(basename(__FILE__)."/../http/"));
 
 function secure($path,$folder = "",$fileExt = null) {
     $secure = true;



More information about the Mapbender_commits mailing list