Browse Source

fix

master
Daniel 3 years ago
parent
commit
9f1d3e5a7a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      _contao_backup/contao_backup.php

+ 1
- 1
_contao_backup/contao_backup.php View File

@@ -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();


Loading…
Cancel
Save