mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-27 11:04:15 +02:00
Existing fix won't work correctly ... this should
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4176 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
9b70911e63
commit
5a13b0710d
@ -40,15 +40,13 @@ if( !empty($setmodules) )
|
||||
//
|
||||
$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;
|
||||
|
||||
if (empty($HTTP_POST_VARS['send_file']))
|
||||
{
|
||||
$no_page_header = ( $cancel ) ? TRUE : FALSE;
|
||||
}
|
||||
$no_page_header = (!empty($HTTP_POST_VARS['send_file']) || $cancel) ? TRUE : FALSE;
|
||||
|
||||
require('./pagestart.' . $phpEx);
|
||||
|
||||
if ($cancel)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user