# HG changeset patch # User Dan Fuhry # Date 1290112446 18000 # Node ID 612680c02316c73d8f5a5d005668dcfd0dd6ce07 # Parent 8aa4b24faabfffe088c9755313814102fedd3a96 Added FLAC to list of file types. (In other news: I'm an audiophile) diff -r 8aa4b24faabf -r 612680c02316 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',