问题修复

This commit is contained in:
liweisen 2020-11-20 16:00:36 +08:00
parent ea0b6d7a8c
commit 21031439ee

View File

@ -352,9 +352,9 @@ class File extends SplFileObject
}
// 验证上传
if (!$this->check()) {
return false;
}
// if (!$this->check()) {
// return false;
// }
$path = rtrim($path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
// 文件保存命名规则