mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
call acl as with 3.0.x
git-svn-id: file:///svn/phpbb/trunk@9258 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
015004385f
commit
b068ff2b39
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ include(PHPBB_ROOT_PATH . 'common.' . PHP_EXT);
|
|||
include(PHPBB_ROOT_PATH . 'includes/functions_display.' . PHP_EXT);
|
||||
|
||||
// Start session management
|
||||
phpbb::$user->init();
|
||||
phpbb::$user->session_begin();
|
||||
phpbb::$acl->init(phpbb::$user->data);
|
||||
phpbb::$user->setup('viewforum');
|
||||
|
||||
display_forums('', phpbb::$config['load_moderators']);
|
||||
|
|
Loading…
Add table
Reference in a new issue