aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/admin/pagestart.inc
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/admin/pagestart.inc')
-rw-r--r--phpBB/admin/pagestart.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/admin/pagestart.inc b/phpBB/admin/pagestart.inc
index acf514f549..06f11fcccb 100644
--- a/phpBB/admin/pagestart.inc
+++ b/phpBB/admin/pagestart.inc
@@ -43,5 +43,10 @@ else if( $userdata['user_level'] != ADMIN )
message_die(GENERAL_MESSAGE, $lang['Not_admin']);
}
-include('page_header_admin.'.$phpEx);
+if ($no_page_header != TRUE)
+{
+ // Not including the pageheader can be neccesarry if META tags are
+ // needed in the calling script.
+ include('page_header_admin.'.$phpEx);
+}
?>