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

In this Discussion

Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.
Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

How i can change files types to upload? Advanced editor

i'm trying to upload apk, and i see error.

Comments

  • R_JR_J Cheerleader & Troubleshooter Munich Moderator
    edited June 2017

    It should be $Configuration['Garden']['Upload']['AllowedFileExtensions'].

    You would have to add
    $Configuration['Garden']['Upload']['AllowedFileExtensions'] = array('txt', 'jpg', 'jpeg', 'gif', 'png', 'bmp', 'tiff', 'ico', 'zip', 'gz', 'tar.gz', 'tgz', 'psd', 'ai', 'fla', 'pdf', 'doc', 'xls', 'ppt', 'docx', 'xlsx', 'log', 'rar', '7z', 'apk');

    to your /conf/config.php. You can change the content in the array to whatever you like.

Sign In or Register to comment.