diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-06-20 10:40:01 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-06-20 10:40:01 +0000 |
| commit | 0a36d15be96a97059bc7792073bbfc3f5334b314 (patch) | |
| tree | 2ee62a298054f7263a080a6fcaf7b1bbe1d1c19d /roundcubemail/index.php | |
| parent | 2e81a5e6e7be614b87098f6c0b254e8b96e49fd7 (diff) | |
Store compose parameters in session and redirect to a unique URL
git-svn-id: https://svn.roundcube.net/trunk@1562 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/index.php')
| -rw-r--r-- | roundcubemail/index.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/roundcubemail/index.php b/roundcubemail/index.php index 699cf19b0..839a75f08 100644 --- a/roundcubemail/index.php +++ b/roundcubemail/index.php @@ -2,7 +2,7 @@ /* +-------------------------------------------------------------------------+ | RoundCube Webmail IMAP Client | - | Version 0.2-20080619 | + | Version 0.2-20080620 | | | | Copyright (C) 2005-2008, RoundCube Dev. - Switzerland | | | @@ -92,8 +92,7 @@ if ($RCMAIL->action=='login' && $RCMAIL->task=='mail') { $_SERVER['REMOTE_ADDR'])); // send redirect - header("Location: {$RCMAIL->comm_path}"); - exit; + $OUTPUT->redirect(); } else { $OUTPUT->show_message($IMAP->error_code == -1 ? 'imaperror' : 'loginfailed', 'warning'); @@ -138,7 +137,7 @@ if ($OUTPUT->ajax_call) { if (empty($RCMAIL->user->ID)) { if ($OUTPUT->ajax_call) - $OUTPUT->remote_response("setTimeout(\"location.href='\"+this.env.comm_path+\"'\", 2000);"); + $OUTPUT->redirect(array(), 2000); // check if installer is still active if ($RCMAIL->config->get('enable_installer') && is_readable('./installer/index.php')) { |
