diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-08-24 18:16:53 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-08-24 18:16:53 +0000 |
| commit | fb5a64a31959aab27262c56f5fdbd6e5b231fa9c (patch) | |
| tree | 84a3d8956e5fef50594e17f7abe40616d621cd7a /phpBB/adm | |
| parent | bd897d42597077135480a2058fc5b0be25872201 (diff) | |
| download | forums-fb5a64a31959aab27262c56f5fdbd6e5b231fa9c.tar forums-fb5a64a31959aab27262c56f5fdbd6e5b231fa9c.tar.gz forums-fb5a64a31959aab27262c56f5fdbd6e5b231fa9c.tar.bz2 forums-fb5a64a31959aab27262c56f5fdbd6e5b231fa9c.tar.xz forums-fb5a64a31959aab27262c56f5fdbd6e5b231fa9c.zip | |
The moving of update eliminates it's usefulness ... given the change was done to increase security it wins :)
git-svn-id: file:///svn/phpbb/trunk@4429 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm')
| -rw-r--r-- | phpBB/adm/index.php | 9 | ||||
| -rw-r--r-- | phpBB/adm/pagestart.php | 2 |
2 files changed, 6 insertions, 5 deletions
diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php index 1877fe727a..f9dfd15713 100644 --- a/phpBB/adm/index.php +++ b/phpBB/adm/index.php @@ -19,16 +19,17 @@ $phpbb_root_path = '../'; require($phpbb_root_path . 'extension.inc'); require('pagestart.' . $phpEx); -// Define some vars -$pane = (!empty($_GET['pane'])) ? htmlspecialchars($_GET['pane']) : ''; -$update = ($pane == 'right') ? true : false; - // Do we have any admin permissions at all? if (!$auth->acl_get('a_')) { trigger_error($user->lang['NO_ADMIN']); } + +// Define some vars +$pane = (!empty($_GET['pane'])) ? htmlspecialchars($_GET['pane']) : ''; + + // Generate relevant output if ($pane == 'top') { diff --git a/phpBB/adm/pagestart.php b/phpBB/adm/pagestart.php index cd1d0f852d..e84098025f 100644 --- a/phpBB/adm/pagestart.php +++ b/phpBB/adm/pagestart.php @@ -30,7 +30,7 @@ require($phpbb_root_path . 'common.'.$phpEx); require($phpbb_root_path . 'includes/functions_admin.'.$phpEx); // Start session management -$user->start($update); +$user->start(); $user->setup(); // Did user forget to login? Give 'em a chance to here ... |
