summaryrefslogtreecommitdiff
path: root/www/admin/logout.php.in
diff options
context:
space:
mode:
Diffstat (limited to 'www/admin/logout.php.in')
-rw-r--r--www/admin/logout.php.in34
1 files changed, 34 insertions, 0 deletions
diff --git a/www/admin/logout.php.in b/www/admin/logout.php.in
new file mode 100644
index 0000000..6d69593
--- /dev/null
+++ b/www/admin/logout.php.in
@@ -0,0 +1,34 @@
+<?php
+/*
+ * Copyright (c) 2004 Klarälvdalens Datakonsult AB
+ *
+ * Written by Steffen Hansen <steffen@klaralvdalens-datakonsult.se>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You can view the GNU General Public License, online, at the GNU
+ * Project's homepage; see <http://www.gnu.org/licenses/gpl.html>.
+ */
+
+session_start();
+session_destroy();
+session_unset();
+header('Location: @webserver_web_prefix@/admin/');
+
+/*
+ Local variables:
+ mode: php
+ indent-tabs-mode: t
+ tab-width: 4
+ buffer-file-coding-system: utf-8
+ End:
+ */
+?>