mime, not mine

This commit is contained in:
Miles Lott 2003-12-28 14:51:24 +00:00
parent fd68a4eddc
commit 6d5de5038e

View File

@ -253,7 +253,7 @@
function content_header($fn='',$mime='',$length='',$nocache=True)
{
// if no mine-type is given or it's the default binary-type, guess it from the extension
if(empty($mine) || $mime == 'application/octet-stream')
if(empty($mime) || $mime == 'application/octet-stream')
{
$mime_magic = createObject('phpgwapi.mime_magic');
$mime = $mime_magic->filename2mine($fn);