aboutsummaryrefslogtreecommitdiff
path: root/logout.php
diff options
context:
space:
mode:
authorHorus32014-02-09 17:21:59 +0100
committerHorus32014-02-09 17:21:59 +0100
commit65dc06eab2305800ad862b4621807fd7d4f7fe8d (patch)
treec8efcc90589d30ecbe838fc7822c8d031cbececa /logout.php
downloadjungegemeinde-65dc06eab2305800ad862b4621807fd7d4f7fe8d.tar.gz
Init
Diffstat (limited to 'logout.php')
-rw-r--r--logout.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/logout.php b/logout.php
new file mode 100644
index 0000000..7c527b2
--- /dev/null
+++ b/logout.php
@@ -0,0 +1,5 @@
+<?php
+ session_start();
+ session_destroy();
+ header('Location: login.php?logout=1');
+?>