数据库备份

This commit is contained in:
xurongyao 2018-09-18 12:28:37 +08:00
parent 7546b9d093
commit 39907b46c1

View File

@ -151,9 +151,7 @@ class Backup
$extension = strtoupper(pathinfo($file->getFilename(), PATHINFO_EXTENSION));
$info['compress'] = $extension === 'SQL' ? '-' : $extension;
$info['time'] = strtotime("{$date} {$time}");
$info['name'] = $file->getFilename();
$list["{$date} {$time}"] = $info;
}
}
return $list;