summaryrefslogtreecommitdiffstats
path: root/common/admin/logout.php
diff options
context:
space:
mode:
Diffstat (limited to 'common/admin/logout.php')
-rw-r--r--common/admin/logout.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/admin/logout.php b/common/admin/logout.php
new file mode 100644
index 0000000..6dd32aa
--- /dev/null
+++ b/common/admin/logout.php
@@ -0,0 +1,5 @@
+<?php
+setcookie('auth','', time()-3600);
+header('Location: login.php');
+die;
+?> \ No newline at end of file