From e6e5c60aae745a580a2d7fca1e2b7104c3907352 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Tue, 01 Jul 2008 05:23:36 -0400 Subject: [PATCH] -added lost label --- index.php | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index 699cf19..839a75f 100644 --- a/index.php +++ b/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 @@ $_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 (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')) { -- Gitblit v1.9.1