summaryrefslogtreecommitdiffstats
path: root/admin/logout.php
diff options
context:
space:
mode:
authorMaurice Svay <maurice@svay.com>2010-02-16 15:23:41 +0000
committerMaurice Svay <maurice@svay.com>2010-02-16 15:23:41 +0000
commitec4326e4bab52c558d1f2564ab2fa0545f81b071 (patch)
tree2c7b9d1bd5a1ee72be2e40e4b45895877777aefe /admin/logout.php
downloadplanet-ec4326e4bab52c558d1f2564ab2fa0545f81b071.tar
planet-ec4326e4bab52c558d1f2564ab2fa0545f81b071.tar.gz
planet-ec4326e4bab52c558d1f2564ab2fa0545f81b071.tar.bz2
planet-ec4326e4bab52c558d1f2564ab2fa0545f81b071.tar.xz
planet-ec4326e4bab52c558d1f2564ab2fa0545f81b071.zip
Initial commit
Diffstat (limited to 'admin/logout.php')
-rw-r--r--admin/logout.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/admin/logout.php b/admin/logout.php
new file mode 100644
index 0000000..6dd32aa
--- /dev/null
+++ b/admin/logout.php
@@ -0,0 +1,5 @@
+<?php
+setcookie('auth','', time()-3600);
+header('Location: login.php');
+die;
+?> \ No newline at end of file