From 76f1361ddafe8a20b76e66ad675c28f17a6c575d Mon Sep 17 00:00:00 2001 From: Peter Deltchev Date: Mon, 7 Sep 2015 18:46:39 -0700 Subject: [PATCH] Change directory permissions to an octal value. --- app/models/Entities/Image.php | 2 +- app/models/Entities/Track.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() {