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:
Ludovic Arnaud 2003-08-23 21:53:01 +00:00
parent 3ad05b08cc
commit bd897d4259

View file

@ -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')
{