faillog.php file moved to tmp subdir.
authorJanusz Dobrowolski <janusz@frontaccouting.eu>
Mon, 10 Jun 2013 15:38:32 +0000 (17:38 +0200)
committerJanusz Dobrowolski <janusz@frontaccouting.eu>
Mon, 10 Jun 2013 15:38:32 +0000 (17:38 +0200)
includes/session.inc

index 27e6f8e6746e407ebc98471d7891b007aff20d7e..145f47fa6717460d8821aeb8912aea662029a701 100644 (file)
@@ -184,7 +184,7 @@ function write_login_filelog($login, $result)
        $msg .= "*/\n";
        $msg .= "\$login_faillog = " .var_export($login_faillog, true). ";\n";
 
-       $filename = $path_to_root."/faillog.php";
+       $filename = $path_to_root."/tmp/faillog.php";
 
        if ((!file_exists($filename) && is_writable($path_to_root)) || is_writable($filename))
        {
@@ -365,7 +365,7 @@ include_once($path_to_root . "/config.php");
 get_text_init();
 
 if ($login_delay > 0)
-       @include_once($path_to_root . "/faillog.php");
+       @include_once($path_to_root . "/tmp/faillog.php");
 
 // Page Initialisation
 if (!isset($_SESSION['language']) || !method_exists($_SESSION['language'], 'set_language'))