mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Hopefully fixed bug #491971
git-svn-id: file:///svn/phpbb/trunk@1603 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c4c1da86c9
commit
9e9710dc21
1 changed files with 6 additions and 5 deletions
|
@ -41,16 +41,17 @@ $phpbb_root_dir = "./../";
|
|||
$confirm = ( isset($HTTP_POST_VARS['confirm']) ) ? TRUE : FALSE;
|
||||
$cancel = ( isset($HTTP_POST_VARS['cancel']) ) ? TRUE : FALSE;
|
||||
|
||||
if( !$HTTP_POST_VARS['send_file'] )
|
||||
{
|
||||
$no_page_header = ( $cancel ) ? TRUE : FALSE;
|
||||
require('pagestart.inc');
|
||||
}
|
||||
|
||||
if( $cancel )
|
||||
{
|
||||
header("Location: " . append_sid("admin_styles.$phpEx"));
|
||||
}
|
||||
|
||||
if( !$HTTP_POST_VARS['send_file'] )
|
||||
{
|
||||
require('pagestart.inc');
|
||||
}
|
||||
|
||||
if( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) )
|
||||
{
|
||||
$mode = ( isset($HTTP_GET_VARS['mode']) ) ? $HTTP_GET_VARS['mode'] : $HTTP_POST_VARS['mode'];
|
||||
|
|
Loading…
Add table
Reference in a new issue