From 9f1d3e5a7ac82bcce79f26a99aed0f51cb4d00f6 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 22 Aug 2022 12:18:09 +0200 Subject: [PATCH] fix --- _contao_backup/contao_backup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_contao_backup/contao_backup.php b/_contao_backup/contao_backup.php index 5ebfe9a..a4d91d5 100644 --- a/_contao_backup/contao_backup.php +++ b/_contao_backup/contao_backup.php @@ -37,7 +37,7 @@ if (count($backupFileNames) > NUM_BACKUPS) { $b = __DIR__; $parentDir = substr(__DIR__, 0, strlen($curDirName) * -1); -$shellCommand = 'mysqldump --user=' . DATABASE_USER . ' --password="' . DATABASE_PASS . '" ' . DATABASE_NAME . ' > dump.sql'; +$shellCommand = "mysqldump --user=" . DATABASE_USER . " --password='" . DATABASE_PASS . "' " . DATABASE_NAME . " > dump.sql"; shell_exec($shellCommand); $zip = new ZipArchive();