mirror of
https://github.com/a2nt/cms-niceties.git
synced 2024-10-22 11:05:46 +02:00
FIX: mysql dump
This commit is contained in:
parent
f943144b5c
commit
7cf0f48e86
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user