[Mapbender-commits] r7125 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Nov 15 09:23:31 EST 2010
Author: christoph
Date: 2010-11-15 06:23:31 -0800 (Mon, 15 Nov 2010)
New Revision: 7125
Modified:
trunk/mapbender/http/javascripts/map.php
Log:
second argument to secure function must be relative to mapbender dir, not file dir
Modified: trunk/mapbender/http/javascripts/map.php
===================================================================
--- trunk/mapbender/http/javascripts/map.php 2010-11-15 11:02:46 UTC (rev 7124)
+++ trunk/mapbender/http/javascripts/map.php 2010-11-15 14:23:31 UTC (rev 7125)
@@ -108,7 +108,7 @@
* @security_patch finc done
*
*/
- require_once(secure($currentFile,"/../../lib/"));
+ require_once(secure($currentFile,"lib/"));
echo "\n\n\n\n";
}
else {
@@ -253,7 +253,7 @@
* @security_patch finc done
* folder?
*/
- require(secure($currentFile,""));
+ require(secure($currentFile));
}
echo "\n\t});\n};\n\n";
More information about the Mapbender_commits
mailing list