]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Merge pull request #2689 from wallabag/change-chmod
authorThomas Citharel <tcit@tcit.fr>
Thu, 8 Dec 2016 14:19:33 +0000 (15:19 +0100)
committerGitHub <noreply@github.com>
Thu, 8 Dec 2016 14:19:33 +0000 (15:19 +0100)
Replaced chmod for download pictures feature

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);
         }
     }