Automation init...3

This commit is contained in:
최준흠 2024-09-15 16:07:38 +09:00
parent 8a36ac6dfe
commit 4cf0fb59c8

View File

@ -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}");
}
}