From db7354d87dd2baf07f145713bbe89339cda2de99 Mon Sep 17 00:00:00 2001 From: niekt0 Date: Wed, 6 Apr 2011 00:14:02 +0200 Subject: [PATCH] typo fix --- wwwroot/inc/logout_idle.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wwwroot/inc/logout_idle.inc b/wwwroot/inc/logout_idle.inc index 70955ef..783c934 100644 --- a/wwwroot/inc/logout_idle.inc +++ b/wwwroot/inc/logout_idle.inc @@ -2,7 +2,7 @@ // Logout user, if idle for more then LOGOUT_IDLE_SEC seconds -if (( !isset($_SESSION['last_request'] ) || +if (( !isset($_SESSION['last_request'] )) || ( $_SESSION['last_request'] >= (time() - LOGOUT_IDLE_SEC))) { $_SESSION['last_request'] = time(); } else { -- 2.30.2