typo fix
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / logout_idle.inc
CommitLineData
f046f788 1<?php
24634046 2
3// Logout user, if idle for more then LOGOUT_IDLE_SEC seconds
4
db7354d8 5if (( !isset($_SESSION['last_request'] )) ||
24634046 6 ( $_SESSION['last_request'] >= (time() - LOGOUT_IDLE_SEC))) {
f046f788
H
7 $_SESSION['last_request'] = time();
8} else {
9 require_once(INCLUDE_DIR."eventz/logout.inc");
10 logout();
11}
24634046 12
13?>
This page took 0.157298 seconds and 4 git commands to generate.