N°3311 - Stop capturing output before sending backup file (avoid memory problem)

This commit is contained in:
Eric
2020-09-22 11:03:59 +02:00
parent 7c3659d5ba
commit c6df0b6d7d

View File

@@ -213,6 +213,9 @@ JS
break;
case 'download':
while (ob_get_level() > 0) {
ob_end_clean();
}
$sFile = utils::ReadParam('file', '', false, 'raw_data');
$oBackup = new DBBackupScheduled();
$sBackupDir = APPROOT.'data/backups/';