瀏覽代碼

fix

master
Daniel 3 年之前
父節點
當前提交
9f1d3e5a7a
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      _contao_backup/contao_backup.php

+ 1
- 1
_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();


Loading…
取消
儲存