From fb5a64a31959aab27262c56f5fdbd6e5b231fa9c Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sun, 24 Aug 2003 18:16:53 +0000 Subject: 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 --- phpBB/adm/index.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'phpBB/adm/index.php') 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') { -- cgit v1.2.1