summary refs log tree commit diff stats
path: root/admin.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2009-11-26 14:21:20 -0500
committerStarla Insigna <hatkirby@fourisland.com>2009-11-26 14:21:20 -0500
commit224f9ee5014ae5c5399188afd8d38e3b620e2856 (patch)
tree6432f783d495626e962835009b6d2f4fd53e42cd /admin.php
parent34d358ba240bd19491f0f97faf04513318bee6c0 (diff)
downloadfourisland-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.php15
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
21require('headerproc.php'); 21require('headerproc.php');
22 22
23header('Content-type: application/xhtml+xml');
24
25include('../security/config.php'); 23include('../security/config.php');
26include('includes/db.php'); 24include('includes/db.php');
27include('includes/template.php'); 25include('includes/common.php');
28include('includes/session.php');
29include('includes/parsers.php');
30include('includes/xmlrpc/xmlrpc.inc');
31include('includes/specialdates.php');
32include('includes/functions.php');
33 26
34if (!isAdmin()) 27if (!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}