summary refs log tree commit diff stats
path: root/admin.php
diff options
context:
space:
mode:
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}