]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/default.php
Changed thumbnail-only chmod to attachment-general chmod as recommended by mmn.
[quix0rs-gnu-social.git] / lib / default.php
index 987c9bd6395fd7d9d1b9ba50ec2eca4a7f35cb5f..72b82e820fa3026a39feae26da52529d513f6e66 100644 (file)
@@ -211,6 +211,7 @@ $default =
         array('server' => null,
               'dir' => INSTALLDIR . '/file/',
               'path' => $_path . '/file/',
+              'chmod' => 0644,        // Access rights (chmod) for any attachments
               'sslserver' => null,
               'sslpath' => null,
               'ssl' => null,
@@ -256,7 +257,6 @@ $default =
               ),
         'thumbnail' =>
         array('crop' => false,      // overridden to true if thumb height === null
-              'chmod' => 0644,       // Access rights (chmod) for created thumbnail images
               'maxsize' => 1000,     // thumbs with an edge larger than this will not be generated
               'width' => 450,
               'height' => 600,