mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Not the screwup is REALLY fixed! Trust me ;)
git-svn-id: file:///svn/phpbb/trunk@803 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
fbcaf21bc0
commit
8b0b59594d
1 changed files with 10 additions and 7 deletions
|
@ -718,11 +718,6 @@ function split_sql_file($sql, $delimiter)
|
|||
// End Functions
|
||||
// -------------
|
||||
|
||||
//
|
||||
// Include required files, get $phpEx and check permissions
|
||||
//
|
||||
$no_page_header = TRUE;
|
||||
require('pagestart.inc');
|
||||
|
||||
//
|
||||
// Begin program proper
|
||||
|
@ -732,9 +727,17 @@ if( isset($HTTP_GET_VARS['perform']) || isset($HTTP_POST_VARS['perform']) )
|
|||
{
|
||||
$perform = (isset($HTTP_POST_VARS['perform'])) ? $HTTP_POST_VARS['perform'] : $HTTP_GET_VARS['perform'];
|
||||
|
||||
if( $perform != 'backup' && !isset($HTTP_POST_VARS['startdownload']) && !isset($HTTP_GET_VARS['startdownload']) )
|
||||
if( $perform == 'backup' && !isset($HTTP_POST_VARS['startdownload']) && !isset($HTTP_GET_VARS['startdownload']) )
|
||||
{
|
||||
// We want to warn the user before the download starts.. This part of the script
|
||||
// needs a META header so we can't include the header yet.
|
||||
$no_page_header = TRUE;
|
||||
}
|
||||
//
|
||||
// Include required files, get $phpEx and check permissions
|
||||
//
|
||||
require('pagestart.inc');
|
||||
|
||||
|
||||
switch($perform)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue