From 45d2962eb304ca5456daa3e6327fe865eef21cf8 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Thu, 19 May 2016 14:33:40 +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 c691603f..58af987e 100644 --- a/library/think/File.php +++ b/library/think/File.php @@ -91,7 +91,7 @@ class File extends SplFileObject $savename = $this->getSaveName($savename); // 检测目录 - if (false === $this->checkPath(dirname($path . $savname))) { + if (false === $this->checkPath(dirname($path . $savename))) { return false; }