about summary refs log tree commit diff stats
path: root/central/trunk/logout.php
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-08-16 17:23:44 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-08-16 17:23:44 +0000
commit3163329b8a8da24b8e388d4309f99cf2c6742a19 (patch)
tree772f685772b673b7515d70f219e0ea7a98ecc63c /central/trunk/logout.php
parent01669b5b3e38d4fd1138034458ad1e9339c8cf9c (diff)
downloadinstadisc-3163329b8a8da24b8e388d4309f99cf2c6742a19.tar.gz
instadisc-3163329b8a8da24b8e388d4309f99cf2c6742a19.tar.bz2
instadisc-3163329b8a8da24b8e388d4309f99cf2c6742a19.zip
Central: Added logout page
Also modified Change Password to lock out non logged-in users and to use the instaDisc_verifyUser() functions instead of inlining it. Refs #25
Diffstat (limited to 'central/trunk/logout.php')
-rw-r--r--central/trunk/logout.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/central/trunk/logout.php b/central/trunk/logout.php new file mode 100644 index 0000000..e915329 --- /dev/null +++ b/central/trunk/logout.php
@@ -0,0 +1,11 @@
1<?php
2
3/* InstaDisc Server - A Four Island Project */
4
5include('includes/instadisc.php');
6
7unset($_SESSION['username']);
8
9header('Location: index.php');
10
11?>