修改数据备份下载的文件名

This commit is contained in:
巴掌 committed 2021-12-28 14:40:26 +08:00
1 parent 8c6cba1ae5
commit f7dec90ffe
1 file changed
-1
-1
View File
@@ -274,7 +274,6 @@ class BackUp extends AdminBase
$url = $list['1']['1'];
$l = strripos($url, '\\', 0) + 1;
$title = substr($url, $l, strlen($url) - $l);
$title = str_replace('-', '', $title);
return download($url, $title);
}