diff options
Diffstat (limited to 'series/core/trunk/admin/logout.php')
-rw-r--r-- | series/core/trunk/admin/logout.php | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/series/core/trunk/admin/logout.php b/series/core/trunk/admin/logout.php deleted file mode 100644 index 779a1d2..0000000 --- a/series/core/trunk/admin/logout.php +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | <?php | ||
2 | |||
3 | /* InstaDisc Series - A Four Island Project */ | ||
4 | |||
5 | /** | ||
6 | * require_once() is used to ensure | ||
7 | * the ACP files are being called by | ||
8 | * admin.php instead of their actual | ||
9 | * locations admin/. | ||
10 | * The _once() part ensures no problem | ||
11 | * arises as includes/instadisc.php has | ||
12 | * already been included from admin.php | ||
13 | */ | ||
14 | require_once('includes/instadisc.php'); | ||
15 | |||
16 | if (!isset($_SESSION['username'])) | ||
17 | { | ||
18 | header('Location: index.php'); | ||
19 | exit; | ||
20 | } | ||
21 | |||
22 | unset($_SESSION['username']); | ||
23 | |||
24 | header('Location: index.php'); | ||
25 | |||
26 | ?> | ||