Daniel il y a 3 ans
Parent
révision
9f1d3e5a7a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      _contao_backup/contao_backup.php

+ 1
- 1
_contao_backup/contao_backup.php Voir le fichier

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


Chargement…
Annuler
Enregistrer