From 375bdd8f8d18cb35e4b0fde4bac64616f98a3cf0 Mon Sep 17 00:00:00 2001 From: Luis Fernando Batels Date: Fri, 8 Dec 2017 00:02:05 -0200 Subject: Open MP3 attachments (#3603) --- app/Helper/FileHelper.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/Helper') 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; -- cgit v1.2.3