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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Nov 11 05:32:06 EST 2010


Author: apour
Date: 2010-11-11 02:32:06 -0800 (Thu, 11 Nov 2010)
New Revision: 7112

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

Modified: trunk/mapbender/core/system.php
===================================================================
--- trunk/mapbender/core/system.php	2010-11-11 10:27:12 UTC (rev 7111)
+++ trunk/mapbender/core/system.php	2010-11-11 10:32:06 UTC (rev 7112)
@@ -82,7 +82,7 @@
 
     if(defined("MB_BASEDIR")) {
 	// PATH START
-	if(realpath(substr(realpath($path),0,strlen(MB_BASEDIR.$folder))) != realpath(MB_BASEDIR.$folder))
+	if(realpath(substr(realpath($path),0,strlen(realpath(MB_BASEDIR.$folder)))) != realpath(MB_BASEDIR.$folder))
 	    $secure = false;
 	// PATH END
 	if(!empty($fileExt) AND substr(realpath($path),-strlen($fileExt)) != $fileExt)



More information about the Mapbender_commits mailing list