Open MP3 attachments (#3603)

This commit is contained in:
Luis Fernando Batels 2017-12-08 00:02:05 -02:00 committed by fguillot
parent 7572edf59a
commit 375bdd8f8d
1 changed files with 2 additions and 0 deletions

View File

@ -113,6 +113,8 @@ class FileHelper extends Base
switch (get_file_extension($filename)) {
case 'pdf':
return 'application/pdf';
case 'mp3':
return 'audio/mpeg';
}
return null;