forked from Wavyzz/dolibarr
Mise a jour librairie php_writeexcel en 0.3.0 (la prcdente ne fonctionne pas en php5)
This commit is contained in:
@@ -51,7 +51,8 @@ $worksheet->write_blank(2, 2, $border2);
|
||||
|
||||
$workbook->close();
|
||||
|
||||
header("Content-Type: application/x-msexcel");
|
||||
header("Content-Type: application/x-msexcel; name=\"example-merge2.xls\"");
|
||||
header("Content-Disposition: inline; filename=\"example-merge2.xls\"");
|
||||
$fh=fopen($fname, "rb");
|
||||
fpassthru($fh);
|
||||
unlink($fname);
|
||||
|
||||
Reference in New Issue
Block a user