diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2009-11-26 14:21:20 -0500 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2009-11-26 14:21:20 -0500 |
commit | 224f9ee5014ae5c5399188afd8d38e3b620e2856 (patch) | |
tree | 6432f783d495626e962835009b6d2f4fd53e42cd /admin.php | |
parent | 34d358ba240bd19491f0f97faf04513318bee6c0 (diff) | |
download | fourisland-224f9ee5014ae5c5399188afd8d38e3b620e2856.tar.gz fourisland-224f9ee5014ae5c5399188afd8d38e3b620e2856.tar.bz2 fourisland-224f9ee5014ae5c5399188afd8d38e3b620e2856.zip |
Added Fouripedia compatibility
Made many strutural changes to Four Island allowing for the reinclusion of Fouripedia.
Diffstat (limited to 'admin.php')
-rw-r--r-- | admin.php | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/admin.php b/admin.php index 5e002a6..6657983 100644 --- a/admin.php +++ b/admin.php | |||
@@ -20,27 +20,18 @@ | |||
20 | 20 | ||
21 | require('headerproc.php'); | 21 | require('headerproc.php'); |
22 | 22 | ||
23 | header('Content-type: application/xhtml+xml'); | ||
24 | |||
25 | include('../security/config.php'); | 23 | include('../security/config.php'); |
26 | include('includes/db.php'); | 24 | include('includes/db.php'); |
27 | include('includes/template.php'); | 25 | include('includes/common.php'); |
28 | include('includes/session.php'); | ||
29 | include('includes/parsers.php'); | ||
30 | include('includes/xmlrpc/xmlrpc.inc'); | ||
31 | include('includes/specialdates.php'); | ||
32 | include('includes/functions.php'); | ||
33 | 26 | ||
34 | if (!isAdmin()) | 27 | if (!isAdmin()) |
35 | { | 28 | { |
36 | ob_start(); | 29 | ob_start(); |
37 | generateError('404'); | 30 | generateError('404'); |
38 | $doc = ob_get_contents(); | 31 | $content = ob_get_contents(); |
39 | ob_end_clean(); | 32 | ob_end_clean(); |
40 | 33 | ||
41 | include('includes/header.php'); | 34 | include('includes/layout.php'); |
42 | echo($doc); | ||
43 | include('includes/footer.php'); | ||
44 | 35 | ||
45 | exit; | 36 | exit; |
46 | } | 37 | } |