diff --git a/lib/contents.php b/lib/contents.php index 304d394e..69d0ceeb 100644 --- a/lib/contents.php +++ b/lib/contents.php @@ -369,7 +369,8 @@ function getMimeType($url) { 'jpg' => 'image/jpeg', 'gif' => 'image/gif', 'png' => 'image/png', - 'image' => 'image/*' + 'image' => 'image/*', + 'mp3' => 'audio/mpeg', ); // '@' is used to mute open_basedir warning, see issue #818 if (@is_readable('/etc/mime.types')) {