From fd0e18c262b1d2b1eec4e160682246eab08a802e Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Mon, 14 Jul 2003 21:58:21 +0000 Subject: [PATCH] Re-arrange auth and setup calls ... needs to be repeated for all major scripts git-svn-id: file:///svn/phpbb/trunk@4259 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewonline.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php index 7d1e62adaa..066beabbdc 100644 --- a/phpBB/viewonline.php +++ b/phpBB/viewonline.php @@ -27,15 +27,15 @@ include($phpbb_root_path . 'common.'.$phpEx); // Start session management $user->start(); -$user->setup(); $auth->acl($user->data); +$user->setup(); + +// Get and set some variables $sort_key = (!empty($_REQUEST['sk'])) ? htmlspecialchars($_REQUEST['sk']) : 'b'; $sort_dir = (!empty($_REQUEST['sd'])) ? htmlspecialchars($_REQUEST['sd']) : 'd'; - - $sort_key_text = array('a' => $user->lang['SORT_USERNAME'], 'b' => $user->lang['SORT_LOCATION'], 'c' => $user->lang['SORT_JOINED']); $sort_key_sql = array('a' => 'username', 'b' => 'session_time', 'c' => 'session_page');