Logout now redirects instead of displaying a page.

Thanks to Alex for the heads-up.

Signed-off-by: tardo <tardo@nagi-fanboi.net>
This commit is contained in:
tardo 2007-09-29 23:00:46 -04:00 committed by Paul Mattal
parent 01911dce95
commit 03a44d4900

View file

@ -19,9 +19,8 @@ if (isset($_COOKIE["AURSID"])) {
setcookie("AURLANG", "", time() - (60*60*24*30), "/"); setcookie("AURLANG", "", time() - (60*60*24*30), "/");
} }
html_header(); # print out the HTML header header('Location: index.php');
print __("You have been successfully logged out.")."<br />\n"; exit;
html_footer("\$Id$"); html_footer("\$Id$");
# vim: ts=2 sw=2 noet ft=php # vim: ts=2 sw=2 noet ft=php