diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-10 21:06:49 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-10 21:06:49 +0000 |
commit | 44c3bc48b5db7b3dc6517d2b073a55af5d4b52db (patch) | |
tree | a48f63061f3cfe5427ce1bc313147cf6be0e739a /series/trunk/admin.php | |
parent | a9a796498285358e7a2f1fde5043e4015de5db70 (diff) | |
download | instadisc-44c3bc48b5db7b3dc6517d2b073a55af5d4b52db.tar.gz instadisc-44c3bc48b5db7b3dc6517d2b073a55af5d4b52db.tar.bz2 instadisc-44c3bc48b5db7b3dc6517d2b073a55af5d4b52db.zip |
Series: Moved around directory structure
Refs #55
Diffstat (limited to 'series/trunk/admin.php')
-rw-r--r-- | series/trunk/admin.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/series/trunk/admin.php b/series/trunk/admin.php new file mode 100644 index 0000000..db637bd --- /dev/null +++ b/series/trunk/admin.php | |||
@@ -0,0 +1,21 @@ | |||
1 | <?php | ||
2 | |||
3 | /* InstaDisc Series - A Four Island Project */ | ||
4 | |||
5 | session_start(); | ||
6 | |||
7 | include('includes/instadisc.php'); | ||
8 | |||
9 | if (!isset($_GET['id']) || !isset($_SESSION['username'])) | ||
10 | { | ||
11 | if (!isset($_SESSION['username'])) | ||
12 | { | ||
13 | include('admin/login.php'); | ||
14 | } else { | ||
15 | include('admin/main.php'); | ||
16 | } | ||
17 | } else { | ||
18 | include('admin/' . basename($_GET['id']) . '.php'); | ||
19 | } | ||
20 | |||
21 | ?> | ||