aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/index.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2012-03-30 10:59:46 -0700
committerIgor Wiedler <igor@wiedler.ch>2012-03-30 10:59:46 -0700
commit0bd635f1b49242fc0fb6bf024e3755fc74638dc9 (patch)
treea2b38b0c1438a320e33739b334709b22de93d4c4 /phpBB/index.php
parentc9b4f1211060516924c34dbb67dab25f425631cd (diff)
parentcaf47f8e19da9e725702fe5a6c09f10be23dd473 (diff)
downloadforums-0bd635f1b49242fc0fb6bf024e3755fc74638dc9.tar
forums-0bd635f1b49242fc0fb6bf024e3755fc74638dc9.tar.gz
forums-0bd635f1b49242fc0fb6bf024e3755fc74638dc9.tar.bz2
forums-0bd635f1b49242fc0fb6bf024e3755fc74638dc9.tar.xz
forums-0bd635f1b49242fc0fb6bf024e3755fc74638dc9.zip
Merge pull request #662 from imkingdavid/ticket/10586
[ticket/10586] Use an abstract class that implements the interface
Diffstat (limited to 'phpBB/index.php')
-rw-r--r--phpBB/index.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index d71878a885..9a57105d57 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -17,12 +17,11 @@ define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
-include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
-$user->setup('viewforum');
+$user->setup();
// Handle the display of extension front pages
if ($ext = $request->variable('ext', ''))
@@ -57,6 +56,10 @@ if ($ext = $request->variable('ext', ''))
exit_handler();
}
+include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
+
+$user->add_lang('viewforum');
+
display_forums('', $config['load_moderators']);
$order_legend = ($config['legend_sort_groupname']) ? 'group_name' : 'group_legend';