Use actual MIME type for CSV.
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2005-07-26 Michal Čihař <michal@cihar.com>
|
||||
* export.php: Use actual MIME type for CSV.
|
||||
|
||||
2005-07-25 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* tbl_change.php: insert another new row: dropdown choice should be sticky
|
||||
|
||||
|
@@ -212,7 +212,7 @@ if ($asfile) {
|
||||
// Generate basic dump extension
|
||||
if ($type == 'csv') {
|
||||
$filename .= '.csv';
|
||||
$mime_type = 'text/x-comma-separated-values';
|
||||
$mime_type = 'text/comma-separated-values';
|
||||
} else if ($type == 'htmlexcel') {
|
||||
$filename .= '.xls';
|
||||
$mime_type = 'application/vnd.ms-excel';
|
||||
|
Reference in New Issue
Block a user