Daniel hace 3 años
padre
commit
9f1d3e5a7a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      _contao_backup/contao_backup.php

+ 1
- 1
_contao_backup/contao_backup.php Ver fichero

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


Cargando…
Cancelar
Guardar