summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authortardo <tardo@nagi-fanboi.net>2007-09-29 23:00:46 -0400
committerPaul Mattal <paul@mattal.com>2007-09-30 12:51:06 -0400
commit03a44d4900e225e5fc5b16192d8de8ec9fb8fa3d (patch)
tree5d6724e28d8671ef212b6c90c0efe2ee3b20066f /web
parent01911dce952765e0e29b7ff2eeda03fd45b774a4 (diff)
downloadaurweb-03a44d4900e225e5fc5b16192d8de8ec9fb8fa3d.tar.xz
Logout now redirects instead of displaying a page.
Thanks to Alex for the heads-up. Signed-off-by: tardo <tardo@nagi-fanboi.net>
Diffstat (limited to 'web')
-rw-r--r--web/html/logout.php5
1 files changed, 2 insertions, 3 deletions
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.")."<br />\n";
-
+header('Location: index.php');
+exit;
html_footer("\$Id$");
# vim: ts=2 sw=2 noet ft=php