diff options
author | Luis Fernando Batels <luisfbatels@gmail.com> | 2017-12-08 00:02:05 -0200 |
---|---|---|
committer | fguillot <fred@kanboard.net> | 2017-12-07 18:02:05 -0800 |
commit | 375bdd8f8d18cb35e4b0fde4bac64616f98a3cf0 (patch) | |
tree | 7832e1626deaaf7da2f7ae729b5384ebfa5c50ae | |
parent | 7572edf59aae68c33a216534438acb407cc4325d (diff) |
Open MP3 attachments (#3603)
-rw-r--r-- | app/Helper/FileHelper.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Helper/FileHelper.php b/app/Helper/FileHelper.php index 06589124..69b46f94 100644 --- a/app/Helper/FileHelper.php +++ b/app/Helper/FileHelper.php @@ -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; |