From 7cf0f48e865ac53197e8324fa590f72609d4e249 Mon Sep 17 00:00:00 2001 From: Tony Air Date: Wed, 9 Feb 2022 22:56:54 +0200 Subject: [PATCH] FIX: mysql dump --- src/Tasks/DumpMySQL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tasks/DumpMySQL.php b/src/Tasks/DumpMySQL.php index da62bd5..b620e9f 100755 --- a/src/Tasks/DumpMySQL.php +++ b/src/Tasks/DumpMySQL.php @@ -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);