From c8256382524aa342632e1d568ea5c3a7b348d265 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Fri, 13 May 2016 22:24:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3File=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/File.php b/library/think/File.php index 6994d534..89c7b248 100644 --- a/library/think/File.php +++ b/library/think/File.php @@ -81,7 +81,7 @@ class File extends SplFileObject return false; } - return new SplFileInfo($path . $savename); + return new \SplFileInfo($path . $savename); } /**