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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sat Dec 11 06:07:18 EST 2010


Author: apour
Date: 2010-12-11 03:07:18 -0800 (Sat, 11 Dec 2010)
New Revision: 7202

Modified:
   trunk/mapbender/core/system.php
Log:
added dirname(__file__)

Modified: trunk/mapbender/core/system.php
===================================================================
--- trunk/mapbender/core/system.php	2010-12-11 10:58:12 UTC (rev 7201)
+++ trunk/mapbender/core/system.php	2010-12-11 11:07:18 UTC (rev 7202)
@@ -108,7 +108,7 @@
  *	@security_patch Helper
  */
 function security_patch_log($file,$line) {
-    $h = fopen("../log/security_patch.log","a+");
+    $h = fopen(dirname(__FILE__)."../log/security_patch.log","a+");
     if($h) {
 		fwrite($h,date("Y.m.d H:i")." FILE : ".$file." | LINE : ".$line." | POST : ".implode(",",array_keys($_POST))." | GET : ".implode(",",array_keys($_GET))." | FILE : ".implode(",",array_keys($_FILE))." |\n");
 		fclose($h);



More information about the Mapbender_commits mailing list