LimeSurvey: master ebd6eb63

Author Committer Branch Timestamp Parent
DenisChenu LouisGac master 2019-09-06 14:38 master 7aaebcbb
Affected Issues  15237: I can´t Upload 3gpp, amr, aac audio files using File Upload Question
Changeset

Fixed issue 15237: Upload 3gpp, amr, aac audio files using File Upload Question (#1318)

Fixed issue 15237: Upload 3gpp, amr, aac audio files using File Upload Question
Dev: allowing to set mime database from config
Dev: allowing to set magic file (extension by magic type)
Dev: review file to check : ico can have image/vnd.microsoft.icon mime type (not in system.utils.fileExtensions)
Dev: use config['magic_database'] only if needed
Dev: more comment
Dev: Yii code to LS code (and make CodeFactor and @ollehar happy)
Dev: fix return type (from Yii)
Dev: some other function call fix,
Dev: log as error when can find extension for mime type

mod - application/config/config-defaults.php Diff File
mod - application/controllers/UploaderController.php Diff File
add - application/core/LSFileHelper.php Diff File