about summary refs log tree commit diff stats
path: root/series/core/trunk/admin/main.php
blob: eb0e35b3aac25aa4fe2e05cd67bdaee775ea4cce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php

/* InstaDisc Series - A Four Island Project */

/** 
 * require_once() is used to ensure
 * the ACP files are being called by
 * admin.php instead of their actual
 * locations admin/.
 * The _once() part ensures no problem
 * arises as includes/instadisc.php has
 * already been included from admin.php
 */
require_once('includes/instadisc.php');

if (!isset($_SESSION['username']))
{
	header('Location: index.php');
}

$template = new FITemplate('main');
$template->add('SITENAME',instaDisc_getConfig('siteName'));
$template->display();

?>