diff --git a/app/models/Entities/Image.php b/app/models/Entities/Image.php index 9da437d6..a989f1c5 100644 --- a/app/models/Entities/Image.php +++ b/app/models/Entities/Image.php @@ -96,6 +96,6 @@ umask(0); if (!is_dir($destination)) - mkdir($destination, 777, true); + mkdir($destination, 0777, true); } } diff --git a/app/models/Entities/Track.php b/app/models/Entities/Track.php index 6aa31392..db1ad4bb 100644 --- a/app/models/Entities/Track.php +++ b/app/models/Entities/Track.php @@ -357,7 +357,7 @@ umask(0); if (!is_dir($destination)) - mkdir($destination, 777, true); + mkdir($destination, 0777, true); } public function hasCover() {