From af7f5886671a5d4b78d8a4dadfa0e10891e10993 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Wed, 13 Jul 2016 20:52:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9File=E7=B1=BB=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E5=88=9B=E5=BB=BA=E6=9D=83=E9=99=90?= 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 16f9bfc9..8cd8f292 100644 --- a/library/think/File.php +++ b/library/think/File.php @@ -79,7 +79,7 @@ class File extends SplFileObject return true; } - if (mkdir($path, 0644, true)) { + if (mkdir($path, 0666, true)) { return true; } else { $this->error = "目录 {$path} 创建失败!";