From: Janusz Dobrowolski Date: Mon, 10 Jun 2013 15:38:32 +0000 (+0200) Subject: faillog.php file moved to tmp subdir. X-Git-Tag: 2.3-final~242 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=d9be3a0b1a0dc51359cb94c30b19c11e0b52baef;p=fa-stable.git faillog.php file moved to tmp subdir. --- 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'))