mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-02-09 16:05:35 +00:00
数据库备份
This commit is contained in:
parent
7546b9d093
commit
39907b46c1
2
vendor/tp5er/tp5-databackup/src/Backup.php
vendored
2
vendor/tp5er/tp5-databackup/src/Backup.php
vendored
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user