diff options
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 | } |
