aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-01-13 18:28:24 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-01-13 18:28:24 +0000
commitb068ff2b395d9d9ab3d8cf398047772399825d07 (patch)
treec244e117750499b59e51b93435caefbaf7a3279c /phpBB
parent015004385fc4fd70a6c6ac22ab17a1ddbdfccc40 (diff)
downloadforums-b068ff2b395d9d9ab3d8cf398047772399825d07.tar
forums-b068ff2b395d9d9ab3d8cf398047772399825d07.tar.gz
forums-b068ff2b395d9d9ab3d8cf398047772399825d07.tar.bz2
forums-b068ff2b395d9d9ab3d8cf398047772399825d07.tar.xz
forums-b068ff2b395d9d9ab3d8cf398047772399825d07.zip
call acl as with 3.0.x
git-svn-id: file:///svn/phpbb/trunk@9258 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index b109af72f6..e57b590ae0 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -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']);