mirror of
https://github.com/processwire/processwire.git
synced 2025-08-08 15:57:01 +02:00
Updates to $config->fileContentTypes
This commit is contained in:
@@ -596,18 +596,24 @@ $config->contentTypes = array(
|
||||
*/
|
||||
$config->fileContentTypes = array(
|
||||
'?' => '+application/octet-stream',
|
||||
'txt' => '+text/plain',
|
||||
'csv' => '+text/csv',
|
||||
'pdf' => '+application/pdf',
|
||||
'doc' => '+application/msword',
|
||||
'docx' => '+application/msword',
|
||||
'xls' => '+application/excel',
|
||||
'xlsx' => '+application/excel',
|
||||
'docx' => '+application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
||||
'xls' => '+application/vnd.ms-excel',
|
||||
'xlsx' => '+application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
||||
'ppt' => '+application/vnd.ms-powerpoint',
|
||||
'pptx' => '+application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
||||
'rtf' => '+application/rtf',
|
||||
'gif' => 'image/gif',
|
||||
'jpg' => 'image/jpeg',
|
||||
'jpeg' => 'image/jpeg',
|
||||
'png' => 'image/png',
|
||||
'svg' => 'image/svg+xml',
|
||||
'webp' => 'image/webp'
|
||||
'webp' => 'image/webp',
|
||||
'zip' => '+application/zip',
|
||||
'mp3' => 'audio/mpeg',
|
||||
);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user