fixing bug #2363 (pclouds at vnlinux dot org)
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@200056 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
7b51dd5cca
commit
33263e73b8
|
|
@ -65,7 +65,7 @@ class Spreadsheet_Excel_Writer extends Spreadsheet_Excel_Writer_Workbook
|
||||||
function send($filename)
|
function send($filename)
|
||||||
{
|
{
|
||||||
header("Content-type: application/vnd.ms-excel");
|
header("Content-type: application/vnd.ms-excel");
|
||||||
header("Content-Disposition: attachment; filename=$filename");
|
header("Content-Disposition: attachment; filename=\"$filename\"");
|
||||||
header("Expires: 0");
|
header("Expires: 0");
|
||||||
header("Cache-Control: must-revalidate, post-check=0,pre-check=0");
|
header("Cache-Control: must-revalidate, post-check=0,pre-check=0");
|
||||||
header("Pragma: public");
|
header("Pragma: public");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue