diff --git a/app/Image.php b/app/Image.php index 65aefc95..f638df7a 100644 --- a/app/Image.php +++ b/app/Image.php @@ -111,7 +111,7 @@ class Image extends Model umask(0); if (!is_dir($destination)) { - mkdir($destination, 777, true); + mkdir($destination, 0777, true); } } } \ No newline at end of file diff --git a/app/Track.php b/app/Track.php index 422d9122..a323bd36 100644 --- a/app/Track.php +++ b/app/Track.php @@ -447,7 +447,7 @@ class Track extends Model umask(0); if (!is_dir($destination)) { - mkdir($destination, 777, true); + mkdir($destination, 0777, true); } }