mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-21 10:07:11 +00:00
数据库备份
This commit is contained in:
parent
7d587f81a7
commit
fbb1e41ff7
1
vendor/tp5er/tp5-databackup/src/Backup.php
vendored
1
vendor/tp5er/tp5-databackup/src/Backup.php
vendored
@ -151,6 +151,7 @@ class Backup
|
|||||||
$extension = strtoupper(pathinfo($file->getFilename(), PATHINFO_EXTENSION));
|
$extension = strtoupper(pathinfo($file->getFilename(), PATHINFO_EXTENSION));
|
||||||
$info['compress'] = $extension === 'SQL' ? '-' : $extension;
|
$info['compress'] = $extension === 'SQL' ? '-' : $extension;
|
||||||
$info['time'] = strtotime("{$date} {$time}");
|
$info['time'] = strtotime("{$date} {$time}");
|
||||||
|
$info['filename'] = $name;
|
||||||
$list["{$date} {$time}"] = $info;
|
$list["{$date} {$time}"] = $info;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user