From: niekt0 Date: Tue, 5 Apr 2011 22:14:02 +0000 (+0200) Subject: typo fix X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=db7354d87dd2baf07f145713bbe89339cda2de99;p=mirrors%2FKyberia-bloodline.git typo fix --- 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 {