]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/default.php
Make uploads work properly if we accept _all_ attachment types
[quix0rs-gnu-social.git] / lib / default.php
index f8ce3bd4fe8880effeab8dfa207bfa77439ec1ef..b945c24e207596b0a756400cd7df3bf5baec1ea0 100644 (file)
@@ -266,6 +266,10 @@ $default =
               'show_html' => false,  // show (filtered) text/html attachments (and oEmbed HTML etc.). Doesn't affect AJAX calls.
               'show_thumbs' => true, // show thumbnails in notice lists for uploaded images, and photos and videos linked remotely that provide oEmbed info
               'process_links' => true, // check linked resources for embeddable photos and videos; this will hit referenced external web sites when processing new messages.
+              'extblacklist' => [
+                    'php' => 'phps',
+                    'exe' => false,  // this would deny any uploads to keep the "exe" file extension
+                ],
               ),
         'thumbnail' =>
         array('crop' => false,      // overridden to true if thumb height === null