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 is proud to present version 2.2.
Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.

How do I allow other filetypes to be uploaded?

edited October 2011 in Vanilla 2.0 Help
This discussion is related to the FileUpload addon.
I want to allow other filetypes to be attached such as .jad / .jar / .apk / .ipa etc....

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.



Sign In or Register to comment.