Added FLAC to list of file types. (In other news: I'm an audiophile)
authorDan Fuhry <dan@enanocms.org>
Thu, 18 Nov 2010 15:34:06 -0500
changeset 1324 612680c02316
parent 1323 8aa4b24faabf
child 1325 1e20add419c8
Added FLAC to list of file types. (In other news: I'm an audiophile)
includes/constants.php
--- a/includes/constants.php	Tue Nov 16 13:24:24 2010 -0500
+++ b/includes/constants.php	Thu Nov 18 15:34:06 2010 -0500
@@ -511,7 +511,8 @@
 	'odf' => 'application/vnd.oasis.opendocument.formula',
 	'otf' => 'application/vnd.oasis.opendocument.formula-template',
 	'odm' => 'application/vnd.oasis.opendocument.text-master',
-	'oth' => 'application/vnd.oasis.opendocument.text-web'
+	'oth' => 'application/vnd.oasis.opendocument.text-web',
+	'flac' => 'audio/x-flac'
 );
 
 $mimetype_extlist = Array(
@@ -586,6 +587,7 @@
 	'audio/x-pn-realaudio-plugin'=>'rpm',
 	'audio/x-realaudio'=>'ra',
 	'audio/x-wav'=>'wav',
+	'audio/x-flac' => 'flac',
 	'chemical/x-pdb'=>'pdb',
 	'chemical/x-xyz'=>'xyz',
 	'image/bmp'=>'bmp',