diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2009-02-22 13:15:37 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2009-02-22 13:15:37 -0500 |
commit | eee98526c48b9154cd9e9bc8bc3e07769e6a39ea (patch) | |
tree | 9d8d719a2ccea91de86435ccd985241ddb3fa0cb /admin/index.php | |
parent | 653c7b3a488488d4b161a8fae41ada5851bf7685 (diff) | |
download | pillowcase-eee98526c48b9154cd9e9bc8bc3e07769e6a39ea.tar.gz pillowcase-eee98526c48b9154cd9e9bc8bc3e07769e6a39ea.tar.bz2 pillowcase-eee98526c48b9154cd9e9bc8bc3e07769e6a39ea.zip |
Rewrote Pillowcase
NOTE: There is a new database schema now, so the database from the testing server has to be copied over to the production server, otherwise this code will fail.
Diffstat (limited to 'admin/index.php')
-rwxr-xr-x | admin/index.php | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/admin/index.php b/admin/index.php deleted file mode 100755 index 3a5f6be..0000000 --- a/admin/index.php +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | <?php | ||
2 | |||
3 | session_start(); | ||
4 | |||
5 | ob_start(); | ||
6 | |||
7 | include('../header.php'); | ||
8 | |||
9 | if (!isset($_SESSION['username'])) | ||
10 | { | ||
11 | include('login.php'); | ||
12 | } else { | ||
13 | if (!isset($_GET['file'])) | ||
14 | { | ||
15 | $file = 'main.php'; | ||
16 | } else { | ||
17 | $file = basename($_GET['file'] . '.php'); | ||
18 | } | ||
19 | |||
20 | include($file); | ||
21 | } | ||
22 | |||
23 | include('../footer.php'); | ||
24 | |||
25 | ob_end_flush(); | ||
26 | |||
27 | ?> | ||