summaryrefslogtreecommitdiff
path: root/logout.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-18 06:40:57 +0100
committerAndrew Dolgov <[email protected]>2005-11-18 06:40:57 +0100
commit99620a7fe0e16679c88e5a84115e1a15e25f309d (patch)
treee12901a886ee7e2992aa33293c0735955bb85dd5 /logout.php
parentff485f1d509abd45638dac0e8d644f3496a5b072 (diff)
add logout.php
Diffstat (limited to 'logout.php')
-rw-r--r--logout.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/logout.php b/logout.php
new file mode 100644
index 000000000..ae2f65508
--- /dev/null
+++ b/logout.php
@@ -0,0 +1,11 @@
+<?
+ session_start();
+
+ $_SESSION["uid"] = null;
+ $_SESSION["name"] = null;
+
+ session_destroy();
+
+ header("Location: tt-rss.php");
+
+?>