From 00fd332aa5a59076901be763f17c6c8ded620101 Mon Sep 17 00:00:00 2001 From: svncommit <devs@roundcube.net> Date: Fri, 14 Oct 2005 03:31:46 -0400 Subject: [PATCH] --- index.php | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/index.php b/index.php index a044be7..0c6a00f 100644 --- a/index.php +++ b/index.php @@ -55,7 +55,8 @@ // increase maximum execution time for php scripts -set_time_limit('120'); +// (does not work in safe mode) +@set_time_limit('120'); // include base files @@ -76,10 +77,8 @@ if (!empty($_GET['_remote'])) $REMOTE_REQUEST = TRUE; - // start session with requested task rcmail_startup($_task); - // set session related variables $COMM_PATH = sprintf('./?_auth=%s&_task=%s', $sess_auth, $_task); @@ -96,7 +95,6 @@ // init necessary objects for GUI load_gui(); - // error steps if ($_action=='error' && !empty($_GET['_code'])) @@ -129,7 +127,7 @@ } // end session -else if ($_action=='logout' && $_SESSION['user_id']) +else if ($_action=='logout' && isset($_SESSION['user_id'])) { show_message('loggedout'); rcmail_kill_session(); -- Gitblit v1.9.1