From: Janusz Dobrowolski Date: Tue, 1 Sep 2009 11:24:44 +0000 (+0000) Subject: Fixed ui behaviour during FA upgrdae. X-Git-Tag: v2.4.2~19^2~1278 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=d03e05776f61d2bff8ee3c1e31e78f98716bf099;p=fa-stable.git Fixed ui behaviour during FA upgrdae. --- diff --git a/access/login.php b/access/login.php index 7d4389f6..759a7327 100644 --- a/access/login.php +++ b/access/login.php @@ -25,11 +25,11 @@ $def_coy = 0; $def_theme = $path_to_root . '/themes/default'; -$ajax_timeout = strstr($_SERVER['PHP_SELF'], 'timeout.php'); +$login_timeout = $_SESSION["wa_current_user"]->last_act; echo " "; -if (!$ajax_timeout) { // page header +if (!$login_timeout) { // page header echo ''; ?>