diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-02-18 13:54:12 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-02-18 13:54:12 +0000 |
commit | 26a6d215d0897afa82eea9b0cc0fca79d4544da5 (patch) | |
tree | 50645d56ce20cb6fa5e18a2eb1036deba65a1068 /phpBB/adm/index.php | |
parent | f2f0dc78929228619f8644d6553a02a8d1572242 (diff) | |
download | forums-26a6d215d0897afa82eea9b0cc0fca79d4544da5.tar forums-26a6d215d0897afa82eea9b0cc0fca79d4544da5.tar.gz forums-26a6d215d0897afa82eea9b0cc0fca79d4544da5.tar.bz2 forums-26a6d215d0897afa82eea9b0cc0fca79d4544da5.tar.xz forums-26a6d215d0897afa82eea9b0cc0fca79d4544da5.zip |
- fix some tiny bugs
- fix module system (sometimes the layout is broken due to falsly deactivated categories)
- auth updates (setting permissions)
- fix "category jumping" bug in acp
- u_action is defined by the module itself
git-svn-id: file:///svn/phpbb/trunk@5558 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm/index.php')
-rw-r--r-- | phpBB/adm/index.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php index d7260afe55..37f872dbdd 100644 --- a/phpBB/adm/index.php +++ b/phpBB/adm/index.php @@ -11,7 +11,6 @@ /** */ define('IN_PHPBB', 1); -define('IN_ADMIN', true); define('NEED_SID', true); // Include files @@ -47,19 +46,22 @@ if (!$auth->acl_get('a_')) trigger_error($user->lang['NO_ADMIN']); } +// We define it now, because the user is now able to use the admin related features... +define('IN_ADMIN', true); + // Some oft used variables $safe_mode = (@ini_get('safe_mode') || @strtolower(ini_get('safe_mode')) == 'on') ? true : false; $file_uploads = (@ini_get('file_uploads') || strtolower(@ini_get('file_uploads')) == 'on') ? true : false; $module_id = request_var('i', ''); $mode = request_var('mode', ''); -// Force pagination seperation for admin style -$user->theme['pagination_sep'] = ''; - // Set custom template for admin area $template->set_custom_template($phpbb_admin_path . 'style', 'admin'); $template->assign_var('T_TEMPLATE_PATH', $phpbb_admin_path . 'style'); +// Force pagination seperation for admin style +$user->theme['pagination_sep'] = ''; + // Instantiate new module $module = new p_master(); |