diff options
author | till <till@php.net> | 2008-02-03 14:02:46 +0000 |
---|---|---|
committer | till <till@php.net> | 2008-02-03 14:02:46 +0000 |
commit | 306175855ab8987b53cd8685469f519eabb1dbc6 (patch) | |
tree | ddb743a6f87593a86dbd36077a60369e9d6b847d /program/include/main.inc | |
parent | 95ebbc985a0e64a364e880de89dbc1ae7952d91e (diff) |
* cs
Diffstat (limited to 'program/include/main.inc')
-rw-r--r-- | program/include/main.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/program/include/main.inc b/program/include/main.inc index 792a316cc..5cd1e779d 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -235,7 +235,8 @@ function rcmail_authenticate_session() $valid = $CONFIG['ip_check'] ? $_SERVER['REMOTE_ADDR'] == $SESS_CLIENT_IP : true; // check session filetime - if (!empty($CONFIG['session_lifetime']) && isset($SESS_CHANGED) && $SESS_CHANGED + $CONFIG['session_lifetime']*60 < time()) + if (!empty($CONFIG['session_lifetime']) && isset($SESS_CHANGED) + && $SESS_CHANGED + $CONFIG['session_lifetime']*60 < time()) $valid = false; return $valid; |