mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +01:00
fix default mime type
This commit is contained in:
parent
4538dde870
commit
c1d57c05a2
@ -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
|
||||
{
|
||||
$attachment = " attachment;";
|
||||
$attachment = ' attachment;';
|
||||
}
|
||||
|
||||
// Show this for all
|
||||
|
Loading…
Reference in New Issue
Block a user