| | |
| | | <?php |
| | | |
| | | /** |
| | | * Local mapping file to specify mime-types based on common file-name extensions |
| | | * |
| | | * Please note that this mapping takes precedence over the content-based mime-type detection |
| | | * and should only contain mappings which cannot be detected properly from the file contents. |
| | | */ |
| | | |
| | | return array( |
| | | 'xls' => 'application/vnd.ms-excel', |
| | | 'xlm' => 'application/vnd.ms-excel', |
| | |
| | | 'xlc' => 'application/vnd.ms-excel', |
| | | 'xlt' => 'application/vnd.ms-excel', |
| | | 'xlw' => 'application/vnd.ms-excel', |
| | | 'pdf' => 'application/pdf', |
| | | 'ppt' => 'application/vnd.ms-powerpoint', |
| | | 'pps' => 'application/vnd.ms-powerpoint', |
| | | 'pot' => 'application/vnd.ms-powerpoint', |
| | |
| | | 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', |
| | | 'xps' => 'application/vnd.ms-xpsdocument', |
| | | 'rar' => 'application/x-rar-compressed', |
| | | '7z' => 'application/x-7z-compressed', |
| | | 's7z' => 'application/x-7z-compressed', |
| | | 'vcf' => 'text/vcard', |
| | | 'ics' => 'text/calendar', |
| | | ); |
| | | |
| | | ?> |
| | | ?> |