fixed bug #869290 Can't save files using https

This commit is contained in:
Pim Snel 2004-04-13 12:17:14 +00:00
parent b4af40ee1d
commit dfbe564fcc

View File

@ -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
{ {