Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Vanilla 2.3 fully supports PHP 7. Get it now!
Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

How do I allow other filetypes to be uploaded?

This discussion is related to the FileUpload addon.
I want to allow other filetypes to be attached such as .jad / .jar / .apk / .ipa etc....
Tagged:

Best Answers

  • ToddTodd Chief Product Officer Vanilla Staff
    Answer ✓
    Here is the config option you want to edit:
    $Configuration['Garden']['Upload']['AllowedFileExtensions']     = array('txt','jpg','jpeg','gif','png', 'bmp', 'tiff', 'ico', 'zip','gz','tar.gz','tgz','psd','ai','fla','swf','pdf','doc','xls','ppt','docx','xlsx','log','rar','7z');
  • x00x00 MVP
    Answer ✓
    You put that in your config.php file.

    grep is your friend.

    UnderDogpsydex

Answers

Sign In or Register to comment.