创建目录权限修改为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

@@ -25,7 +25,7 @@ class Make extends Command
}
if (!is_dir(dirname($file))) {
mkdir(strtolower(dirname($file)), 0777, true);
mkdir(strtolower(dirname($file)), 0644, true);
}
file_put_contents($file, $content);