mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Because of vars being unset by common.php we must always declare them after common.php has been called
git-svn-id: file:///svn/phpbb/trunk@4428 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -14,22 +14,21 @@
|
||||
|
||||
define('IN_PHPBB', 1);
|
||||
|
||||
// Define some vars
|
||||
$pane = (!empty($_GET['pane'])) ? htmlspecialchars($_GET['pane']) : '';
|
||||
$update = ($pane == 'right') ? true : false;
|
||||
|
||||
// Include files
|
||||
$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']);
|
||||
}
|
||||
|
||||
|
||||
// Generate relevant output
|
||||
if ($pane == 'top')
|
||||
{
|
||||
|
Reference in New Issue
Block a user