From 21031439ee30ac7a18846f53d365010db40ae961 Mon Sep 17 00:00:00 2001 From: liweisen <liweisen@liweisen> Date: Fri, 20 Nov 2020 16:00:36 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- thinkphp/library/think/File.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/thinkphp/library/think/File.php b/thinkphp/library/think/File.php index b24b777..31f9fb5 100644 --- a/thinkphp/library/think/File.php +++ b/thinkphp/library/think/File.php @@ -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; // 文件保存命名规则