mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
fixed bug #869290 Can't save files using https
This commit is contained in:
parent
b4af40ee1d
commit
dfbe564fcc
@ -1720,8 +1720,10 @@
|
|||||||
|
|
||||||
if(in_array($mime_type,$viewable) && !$_GET['download'])
|
if(in_array($mime_type,$viewable) && !$_GET['download'])
|
||||||
{
|
{
|
||||||
|
|
||||||
header('Content-type: ' . $mime_type);
|
header('Content-type: ' . $mime_type);
|
||||||
header('Content-disposition: filename="' . $this->file . '"');//FIXME
|
header('Content-disposition: filename="' . $this->file . '"');//FIXME
|
||||||
|
Header("Pragma: public");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user