]> git.wh0rd.org Git - tt-rss.git/commitdiff
add logout.php
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 18 Nov 2005 05:40:57 +0000 (06:40 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 18 Nov 2005 05:40:57 +0000 (06:40 +0100)
logout.php [new file with mode: 0644]

diff --git a/logout.php b/logout.php
new file mode 100644 (file)
index 0000000..ae2f655
--- /dev/null
@@ -0,0 +1,11 @@
+<?
+       session_start();
+
+       $_SESSION["uid"] = null;
+       $_SESSION["name"] = null;
+       
+       session_destroy();
+
+       header("Location: tt-rss.php");
+
+?>