]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Replaced chmod for download pictures feature 2689/head
authorNicolas Lœuillet <nicolas@loeuillet.org>
Thu, 8 Dec 2016 12:04:15 +0000 (13:04 +0100)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Thu, 8 Dec 2016 12:04:15 +0000 (13:04 +0100)
src/Wallabag/CoreBundle/Helper/DownloadImages.php

index 264bc6a3eba7cb30ddedcad79821de83dac8341a..c83f96187f8a2c9b01479ae2a15cc34467065231 100644 (file)
@@ -36,7 +36,7 @@ class DownloadImages
     {
         // if folder doesn't exist, attempt to create one and store the folder name in property $folder
         if (!file_exists($this->baseFolder)) {
-            mkdir($this->baseFolder, 0777, true);
+            mkdir($this->baseFolder, 0755, true);
         }
     }