FIX: mysql dump

This commit is contained in:
Tony Air 2022-02-09 22:56:54 +02:00
parent f943144b5c
commit 7cf0f48e86
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ class DumpMySQL extends BuildTask
} catch (Exception $e) {
}
header('Content-Disposition: attachment; filename="backup-'.date('d-m-Y').'.sql"');
//header('Content-Disposition: attachment; filename="backup-'.date('d-m-Y').'.sql"');
$dump = passthru('mysqldump -u '.$cfg['username'].' --password="'.$cfg['password'].'" '.$cfg['database'], true);
var_dump($dump);