i'm trying to upload apk, and i see error.
It should be $Configuration['Garden']['Upload']['AllowedFileExtensions'].
$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');
$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.
/conf/config.php
Thank!
Comments
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.Thank!