Automation init...3
This commit is contained in:
parent
8a36ac6dfe
commit
4cf0fb59c8
@ -7,7 +7,7 @@ trait FileTrait
|
||||
final protected function mkdir_FileTrait(string $path)
|
||||
{
|
||||
if (!is_dir($path)) {
|
||||
if (!mkdir($path, 0644, true)) {
|
||||
if (!mkdir($path, 0755, true)) {
|
||||
throw new \Exception("디렉토리 생성 실패:{$path}");
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user