aboutsummaryrefslogtreecommitdiffstats
path: root/include/page_header.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/page_header.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/page_header.php b/include/page_header.php
index e4833e9c1..89358697b 100644
--- a/include/page_header.php
+++ b/include/page_header.php
@@ -28,7 +28,7 @@
//
// Start output of page
//
-if (IN_ADMIN)
+if (defined('IN_ADMIN') && IN_ADMIN)
{
$template->set_rootdir(PHPWG_ROOT_PATH.'template/admin/'.$user['template']);
$template->set_filenames(array('header'=>'header.tpl'));