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/index.php | |
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/index.php')
-rw-r--r-- | phpBB/adm/index.php | 9 |
1 files changed, 5 insertions, 4 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') { |