fixed mime type for CSV output
This commit is contained in:
parent
5594631601
commit
1e87c10747
|
@ -56,7 +56,7 @@ if (isset($_GET['getCSV'])) {
|
|||
Header('Content-Type: application/force-download');
|
||||
}
|
||||
else {
|
||||
Header('Content-Type: text/plain');
|
||||
Header('Content-Type: application/msexcel');
|
||||
}
|
||||
Header('Content-disposition: attachment; filename=lam.csv');
|
||||
echo $_SESSION['mass_csv'];
|
||||
|
|
Loading…
Reference in New Issue