From 0db774aaddbe8e37c26e33e3f217b3919c4c38cb Mon Sep 17 00:00:00 2001 From: Kelvin Zhang Date: Thu, 10 Sep 2015 12:50:04 +0100 Subject: [PATCH] Merge rPF76f1361ddafe: Change directory permissions to an octal value. --- app/Image.php | 2 +- app/Track.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } }