diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-10-14 15:46:53 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-10-14 15:46:53 +0000 |
commit | 4aeb685d3cba6c46642d2ba6105b706434fcee49 (patch) | |
tree | da3a9fb6736dfb939f2f0bcd989d13e68bf9b4db /phpBB/admin/pagestart.inc | |
parent | e31466a42f03d25d7a9e650f6e0b88b1ff0bb6c3 (diff) | |
download | forums-4aeb685d3cba6c46642d2ba6105b706434fcee49.tar forums-4aeb685d3cba6c46642d2ba6105b706434fcee49.tar.gz forums-4aeb685d3cba6c46642d2ba6105b706434fcee49.tar.bz2 forums-4aeb685d3cba6c46642d2ba6105b706434fcee49.tar.xz forums-4aeb685d3cba6c46642d2ba6105b706434fcee49.zip |
Various updates, cleanups and support for URI based sessions ... more to come at some point
git-svn-id: file:///svn/phpbb/trunk@1179 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/admin/pagestart.inc')
-rw-r--r-- | phpBB/admin/pagestart.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/admin/pagestart.inc b/phpBB/admin/pagestart.inc index a5960ed494..afd5d1d339 100644 --- a/phpBB/admin/pagestart.inc +++ b/phpBB/admin/pagestart.inc @@ -20,6 +20,8 @@ * ***************************************************************************/ +define("IN_ADMIN", true); + $phpbb_root_path = "../"; include($phpbb_root_path . 'extension.inc'); include($phpbb_root_path . 'common.'.$phpEx); @@ -41,11 +43,11 @@ else if( $userdata['user_level'] != ADMIN ) message_die(GENERAL_MESSAGE, $lang['Not_admin']); } -if ($no_page_header != TRUE) +if ( !$no_page_header ) { // Not including the pageheader can be neccesarry if META tags are // needed in the calling script. include('page_header_admin.'.$phpEx); } -?> +?>
\ No newline at end of file |