mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 15:12:48 +08:00
修改File类目录创建权限
This commit is contained in:
@@ -79,7 +79,7 @@ class File extends SplFileObject
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mkdir($path, 0644, true)) {
|
if (mkdir($path, 0666, true)) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
$this->error = "目录 {$path} 创建失败!";
|
$this->error = "目录 {$path} 创建失败!";
|
||||||
|
|||||||
Reference in New Issue
Block a user