aboutsummaryrefslogtreecommitdiff
path: root/logout.php
diff options
context:
space:
mode:
Diffstat (limited to 'logout.php')
-rw-r--r--logout.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/logout.php b/logout.php
new file mode 100644
index 0000000..be295fd
--- /dev/null
+++ b/logout.php
@@ -0,0 +1,7 @@
+<?php
+session_start();
+
+session_unset();
+session_destroy();
+header('Location: admin.php');
+?>