summaryrefslogtreecommitdiff
path: root/roundcubemail/index.php
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-09-07 18:54:37 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-09-07 18:54:37 +0000
commit33646461fd04f53de0e4dc79f0b6bb2e4253724e (patch)
tree7d804fa22fbf0e28c32e967e9cb45d77a4714265 /roundcubemail/index.php
parent476d13763e72c1a61693bc8050912317042fc3eb (diff)
Some bugfixes and session expiration stuff
git-svn-id: https://svn.roundcube.net/trunk@338 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/index.php')
-rw-r--r--roundcubemail/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/roundcubemail/index.php b/roundcubemail/index.php
index 68c0f1773..85a9eefef 100644
--- a/roundcubemail/index.php
+++ b/roundcubemail/index.php
@@ -2,7 +2,7 @@
/*
+-----------------------------------------------------------------------+
| RoundCube Webmail IMAP Client |
- | Version 0.1-20060904 |
+ | Version 0.1-20060907 |
| |
| Copyright (C) 2005-2006, RoundCube Dev. - Switzerland |
| Licensed under the GNU GPL |
@@ -40,7 +40,7 @@
*/
-define('RCMAIL_VERSION', '0.1-20060904');
+define('RCMAIL_VERSION', '0.1-20060907');
// define global vars
$CHARSET = 'UTF-8';
@@ -181,7 +181,7 @@ else if ($_action=='logout' && isset($_SESSION['user_id']))
else if ($_action!='login' && $_SESSION['user_id'])
{
if (!rcmail_authenticate_session() ||
- ($CONFIG['session_lifetime'] && isset($SESS_CHANGED) && $SESS_CHANGED + $CONFIG['session_lifetime']*60 < mktime()))
+ (!empty($CONFIG['session_lifetime']) && isset($SESS_CHANGED) && $SESS_CHANGED + $CONFIG['session_lifetime']*60 < mktime()))
{
$message = show_message('sessionerror', 'error');
rcmail_kill_session();