fix default mime type

This commit is contained in:
Miles Lott 2001-05-31 04:45:51 +00:00
parent 4538dde870
commit c1d57c05a2

View File

@ -257,17 +257,17 @@
}
// Echo content headers for file downloads
function content_header($fn="",$mime="application/octetstream",$length="",$nocache=True)
function content_header($fn='',$mime='application/octet-stream',$length='',$nocache=True)
{
if ($fn)
{
if ($this->get_agent() == "IE") // && browser_get_version() == "5.5")
if ($this->get_agent() == 'IE') // && browser_get_version() == "5.5")
{
$attachment = "";
$attachment = '';
}
else
else
{
$attachment = " attachment;";
$attachment = ' attachment;';
}
// Show this for all