3 // Logout user, if idle for more then LOGOUT_IDLE_SEC seconds
5 if (( !isset($_SESSION['last_request'] )) ||
6 ( $_SESSION['last_request'] >= (time() - LOGOUT_IDLE_SEC))) {
7 $_SESSION['last_request'] = time();
9 require_once(INCLUDE_DIR."eventz/logout.inc");