X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/86fb546e14c62a9a63478d84d76ca4c763699589..07124c3728ccb26c74cc18b0c8ff93a92bf28551:/lib/utils.inc.php diff --git a/lib/utils.inc.php b/lib/utils.inc.php index 3c3ff97..dcdd851 100644 --- a/lib/utils.inc.php +++ b/lib/utils.inc.php @@ -143,7 +143,8 @@ class Utils { $time = $_SERVER['REQUEST_TIME']; if (isset($_SESSION['LAST_ACTIVITY']) && ($time - $_SESSION['LAST_ACTIVITY']) >= $this->settings['timeout']) { - echo 'R_TIME: '.date('c', $time).' L_ACT: '.date('c', $_SESSION['LAST_ACTIVITY']); + $this->log('R_TIME: '.date('c', $time).' L_ACT: '.date('c', $_SESSION['LAST_ACTIVITY']. + 'Test: '.($time - $_SESSION['LAST_ACTIVITY'])).' >= '.$this->settings['timeout'], 3); $this->logout(); } else { $_SESSION['LAST_ACTIVITY'] = $time;