mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 17:05:46 +00:00
set propper content type for excel documents
This commit is contained in:
parent
397c5ee9d8
commit
022490e461
|
@ -427,7 +427,7 @@ if(isset($_GET["fullsearch"]) && $_GET["fullsearch"]) {
|
|||
header("Content-Transfer-Encoding: binary");
|
||||
header("Content-Length: " . filesize($filename));
|
||||
header("Content-Disposition: attachment; filename=\"export-" .date('Y-m-d') . ".xls\"");
|
||||
header("Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
|
||||
header("Content-Type: application/vnd.ms-excel");
|
||||
header("Cache-Control: must-revalidate");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user