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