mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-02 16:18:53 +00: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:
parent
3ad05b08cc
commit
bd897d4259
1 changed files with 4 additions and 5 deletions
|
@ -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')
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue