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); } /**