fix: del upload cache

pull/188/head
qkqpttgf 2021-01-16 12:18:19 +08:00 committed by GitHub
parent be96d3aa8b
commit 66238a6d54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ function main($path)
if ($_SERVER['ajax']) {
if ($_GET['action']=='del_upload_cache') {
// del '.tmp' without login. 无需登录即可删除.tmp后缀文件
return $drive->del_upload_cache();
return $drive->del_upload_cache($path);
}
if ($_GET['action']=='upbigfile') {
if (!$_SERVER['admin']) {