summaryrefslogtreecommitdiff
path: root/www/admin/logout.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/admin/logout.php')
-rw-r--r--www/admin/logout.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/www/admin/logout.php b/www/admin/logout.php
new file mode 100644
index 0000000..cba1546
--- /dev/null
+++ b/www/admin/logout.php
@@ -0,0 +1,36 @@
+<?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>.
+ */
+
+require_once('KolabAdmin/include/mysmarty.php');
+
+session_start();
+session_destroy();
+session_unset();
+header('Location: $params['kolab_wui']/');
+
+/*
+ Local variables:
+ mode: php
+ indent-tabs-mode: t
+ tab-width: 4
+ buffer-file-coding-system: utf-8
+ End:
+ */
+?>