aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-10-28 12:28:34 +1100
committerredmatrix <redmatrix@redmatrix.me>2015-10-28 12:28:34 +1100
commit0147186565da99d6d89d6c2d57f5b7034fca0d68 (patch)
tree3a65e8653f14482fac119e90db0e62f3eccc0b98 /include
parent605381f83deecc384a0ed7630dd1577e93b2cf8f (diff)
parent8924cb0960eb732e9fac015d62fcfccbd5a81e12 (diff)
downloadvolse-hubzilla-0147186565da99d6d89d6c2d57f5b7034fca0d68.tar.gz
volse-hubzilla-0147186565da99d6d89d6c2d57f5b7034fca0d68.tar.bz2
volse-hubzilla-0147186565da99d6d89d6c2d57f5b7034fca0d68.zip
Merge pull request #101 from kenrestivo/kens-fixes
Add YML file for travis CI suite, fix MIME types for audio files
Diffstat (limited to 'include')
-rw-r--r--include/attach.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/attach.php b/include/attach.php
index f5d2c69b6..a959a5bcb 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -64,7 +64,10 @@ function z_mime_content_type($filename) {
'wav' => 'audio/wav',
'qt' => 'video/quicktime',
'mov' => 'video/quicktime',
- 'ogg' => 'application/ogg',
+ 'ogg' => 'audio/ogg',
+ 'ogv' => 'video/ogg',
+ 'ogx' => 'application/ogg',
+ 'flac' => 'audio/flac',
'opus' => 'audio/ogg',
'webm' => 'video/webm',
// 'webm' => 'audio/webm',