From d9be3a0b1a0dc51359cb94c30b19c11e0b52baef Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Mon, 10 Jun 2013 17:38:32 +0200 Subject: [PATCH] faillog.php file moved to tmp subdir. --- includes/session.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/session.inc b/includes/session.inc index 27e6f8e6..145f47fa 100644 --- a/includes/session.inc +++ b/includes/session.inc @@ -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')) -- 2.30.2