fixed mime type for CSV output

This commit is contained in:
Roland Gruber 2004-10-12 13:29:06 +00:00
parent 5594631601
commit 1e87c10747
1 changed files with 1 additions and 1 deletions

View File

@ -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'];