创建目录权限修改为0644

This commit is contained in:
thinkphp
2016-07-12 13:42:50 +08:00
parent fbe7eef11e
commit 7281e76aff
4 changed files with 8 additions and 8 deletions

View File

@@ -79,7 +79,7 @@ class File extends SplFileObject
return true;
}
if (mkdir($path, 0777, true)) {
if (mkdir($path, 0644, true)) {
return true;
} else {
$this->error = "目录 {$path} 创建失败!";