diff options
| author | Andrew Dolgov <fox@madoka.spb.ru> | 2005-11-18 06:40:57 +0100 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.spb.ru> | 2005-11-18 06:40:57 +0100 |
| commit | 99620a7fe0e16679c88e5a84115e1a15e25f309d (patch) | |
| tree | e12901a886ee7e2992aa33293c0735955bb85dd5 | |
| parent | ff485f1d509abd45638dac0e8d644f3496a5b072 (diff) | |
add logout.php
| -rw-r--r-- | logout.php | 11 |
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"); + +?> |