diff options
| author | sparc <sparc@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2005-10-14 07:31:46 +0000 |
|---|---|---|
| committer | sparc <sparc@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2005-10-14 07:31:46 +0000 |
| commit | 6a4d026c0a1d1d8ce1f0da9bdeeb153275a39372 (patch) | |
| tree | 3ae3c5399373906cccc1f6d79c18a771e72d7cf3 | |
| parent | f22cf12bca9d6e50f98ebe675f610cb9194f21ff (diff) | |
warning clearance
git-svn-id: https://svn.roundcube.net/trunk@30 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/index.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/roundcubemail/index.php b/roundcubemail/index.php index a044be72a..0c6a00f8c 100644 --- a/roundcubemail/index.php +++ b/roundcubemail/index.php @@ -55,7 +55,8 @@ ini_set('error_reporting', E_ALL&~E_NOTICE); // 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,11 +77,9 @@ $_framed = (!empty($_GET['_framed']) || !empty($_POST['_framed'])); 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); $SESS_HIDDEN_FIELD = sprintf('<input type="hidden" name="_auth" value="%s" />', $sess_auth); @@ -97,7 +96,6 @@ if ($_framed) // init necessary objects for GUI load_gui(); - // error steps if ($_action=='error' && !empty($_GET['_code'])) { @@ -129,7 +127,7 @@ if ($_action=='login' && $_task=='mail') } // end session -else if ($_action=='logout' && $_SESSION['user_id']) +else if ($_action=='logout' && isset($_SESSION['user_id'])) { show_message('loggedout'); rcmail_kill_session(); |
