about summary refs log tree commit diff stats
path: root/series/core/trunk/admin/main.php
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-09-07 14:55:06 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-09-07 14:55:06 +0000
commit5e84520b571eda5f69ce907aa838820533fd0737 (patch)
tree5cc2dca6dcbf4fe72c4d4a720ddd7f0c582006ea /series/core/trunk/admin/main.php
parent866a1d8567457b451d61339064b52973419b2b0b (diff)
downloadinstadisc-5e84520b571eda5f69ce907aa838820533fd0737.tar.gz
instadisc-5e84520b571eda5f69ce907aa838820533fd0737.tar.bz2
instadisc-5e84520b571eda5f69ce907aa838820533fd0737.zip
Series: Started ACP
Refs #53
Diffstat (limited to 'series/core/trunk/admin/main.php')
-rw-r--r--series/core/trunk/admin/main.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/series/core/trunk/admin/main.php b/series/core/trunk/admin/main.php new file mode 100644 index 0000000..eb0e35b --- /dev/null +++ b/series/core/trunk/admin/main.php
@@ -0,0 +1,25 @@
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 */
14require_once('includes/instadisc.php');
15
16if (!isset($_SESSION['username']))
17{
18 header('Location: index.php');
19}
20
21$template = new FITemplate('main');
22$template->add('SITENAME',instaDisc_getConfig('siteName'));
23$template->display();
24
25?>