mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-16 08:18:53 +00: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
1 changed files with 3 additions and 5 deletions
|
@ -40,15 +40,13 @@ if( !empty($setmodules) )
|
||||||
//
|
//
|
||||||
$phpbb_root_path = "./../";
|
$phpbb_root_path = "./../";
|
||||||
require($phpbb_root_path . 'extension.inc');
|
require($phpbb_root_path . 'extension.inc');
|
||||||
require('./pagestart.' . $phpEx);
|
|
||||||
|
|
||||||
$confirm = ( isset($HTTP_POST_VARS['confirm']) ) ? TRUE : FALSE;
|
$confirm = ( isset($HTTP_POST_VARS['confirm']) ) ? TRUE : FALSE;
|
||||||
$cancel = ( isset($HTTP_POST_VARS['cancel']) ) ? TRUE : FALSE;
|
$cancel = ( isset($HTTP_POST_VARS['cancel']) ) ? TRUE : FALSE;
|
||||||
|
|
||||||
if (empty($HTTP_POST_VARS['send_file']))
|
$no_page_header = (!empty($HTTP_POST_VARS['send_file']) || $cancel) ? TRUE : FALSE;
|
||||||
{
|
|
||||||
$no_page_header = ( $cancel ) ? TRUE : FALSE;
|
require('./pagestart.' . $phpEx);
|
||||||
}
|
|
||||||
|
|
||||||
if ($cancel)
|
if ($cancel)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue