aboutsummaryrefslogtreecommitdiff
path: root/logout.php
diff options
context:
space:
mode:
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');
+?>