diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-07-14 21:58:21 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-07-14 21:58:21 +0000 |
commit | fd0e18c262b1d2b1eec4e160682246eab08a802e (patch) | |
tree | b88d62fcf8ab9beaba537cc3e90f5d22d181991b /phpBB/viewonline.php | |
parent | be9def57a9cc7195d8c76e9e91c4b95a7c12e90f (diff) | |
download | forums-fd0e18c262b1d2b1eec4e160682246eab08a802e.tar forums-fd0e18c262b1d2b1eec4e160682246eab08a802e.tar.gz forums-fd0e18c262b1d2b1eec4e160682246eab08a802e.tar.bz2 forums-fd0e18c262b1d2b1eec4e160682246eab08a802e.tar.xz forums-fd0e18c262b1d2b1eec4e160682246eab08a802e.zip |
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
Diffstat (limited to 'phpBB/viewonline.php')
-rw-r--r-- | phpBB/viewonline.php | 6 |
1 files 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'); |