diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-16 17:23:44 +0000 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-16 17:23:44 +0000 |
| commit | 3163329b8a8da24b8e388d4309f99cf2c6742a19 (patch) | |
| tree | 772f685772b673b7515d70f219e0ea7a98ecc63c /central/trunk/logout.php | |
| parent | 01669b5b3e38d4fd1138034458ad1e9339c8cf9c (diff) | |
| download | instadisc-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.php | 11 |
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 | |||
| 5 | include('includes/instadisc.php'); | ||
| 6 | |||
| 7 | unset($_SESSION['username']); | ||
| 8 | |||
| 9 | header('Location: index.php'); | ||
| 10 | |||
| 11 | ?> | ||
