AAAAAAAAAAARGH! I'm going to bed now..

git-svn-id: file:///svn/phpbb/trunk@804 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Bart van Bragt 2001-08-03 01:03:17 +00:00
parent 8b0b59594d
commit 4255736e23

View file

@ -727,7 +727,10 @@ 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['backupstart']) || isset($HTTP_GET_VARS['backupstart']) )
&& !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.