Fix MIME type and extension to state before plugins were introduced (patch #1570742, thanks to ssevennm - ssevennm).

This commit is contained in:
Michal Čihař
2006-10-10 14:20:58 +00:00
parent 2b5baa6e9a
commit 861d70b5a2
2 changed files with 4 additions and 2 deletions

View File

@@ -12,6 +12,8 @@ $Source$
* libraries/db_table_exists.lib.php: Fix displaying of entered query.
* libraries/common.lib.php: Check for sent headers, provide backtrace in
this case.
* libraries/export/excel.php: Fix MIME type and extension to state before
plugins were introduced (patch #1570742, thanks to ssevennm - ssevennm).
2006-10-09 Michal Čihař <michal@cihar.com>
* lang/german: Fix typo (translation #1570611).

View File

@@ -9,8 +9,8 @@
if (isset($plugin_list)) {
$plugin_list['excel'] = array(
'text' => 'strStrucExcelCSV',
'extension' => 'xls',
'mime_type' => 'application/vnd.ms-excel',
'extension' => 'csv',
'mime_type' => 'text/comma-separated-values',
'options' => array(
array('type' => 'text', 'name' => 'null', 'text' => 'strReplaceNULLBy'),
array('type' => 'bool', 'name' => 'columns', 'text' => 'strPutColNames'),