From 03a44d4900e225e5fc5b16192d8de8ec9fb8fa3d Mon Sep 17 00:00:00 2001 From: tardo Date: Sat, 29 Sep 2007 23:00:46 -0400 Subject: Logout now redirects instead of displaying a page. Thanks to Alex for the heads-up. Signed-off-by: tardo --- web/html/logout.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'web') diff --git a/web/html/logout.php b/web/html/logout.php index 76736b7..0d0f15e 100644 --- a/web/html/logout.php +++ b/web/html/logout.php @@ -19,9 +19,8 @@ if (isset($_COOKIE["AURSID"])) { setcookie("AURLANG", "", time() - (60*60*24*30), "/"); } -html_header(); # print out the HTML header -print __("You have been successfully logged out.")."
\n"; - +header('Location: index.php'); +exit; html_footer("\$Id$"); # vim: ts=2 sw=2 noet ft=php -- cgit v1.2.3-70-g09d2