mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Possible naughty on old versions of PHP
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4174 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c383145485
commit
9b70911e63
1 changed files with 2 additions and 2 deletions
|
@ -39,6 +39,8 @@ if( !empty($setmodules) )
|
|||
// Check if the user has cancled a confirmation message.
|
||||
//
|
||||
$phpbb_root_path = "./../";
|
||||
require($phpbb_root_path . 'extension.inc');
|
||||
require('./pagestart.' . $phpEx);
|
||||
|
||||
$confirm = ( isset($HTTP_POST_VARS['confirm']) ) ? TRUE : FALSE;
|
||||
$cancel = ( isset($HTTP_POST_VARS['cancel']) ) ? TRUE : FALSE;
|
||||
|
@ -46,8 +48,6 @@ $cancel = ( isset($HTTP_POST_VARS['cancel']) ) ? TRUE : FALSE;
|
|||
if (empty($HTTP_POST_VARS['send_file']))
|
||||
{
|
||||
$no_page_header = ( $cancel ) ? TRUE : FALSE;
|
||||
require($phpbb_root_path . 'extension.inc');
|
||||
require('./pagestart.' . $phpEx);
|
||||
}
|
||||
|
||||
if ($cancel)
|
||||
|
|
Loading…
Add table
Reference in a new issue