50 lines
1.6 KiB
PHP
50 lines
1.6 KiB
PHP
|
<?php
|
||
|
|
||
|
return [
|
||
|
'image/jpeg',
|
||
|
'image/jpeg',
|
||
|
'image/gif',
|
||
|
'image/png',
|
||
|
'image/webp',
|
||
|
|
||
|
// Video Files
|
||
|
'video/mp4',
|
||
|
'video/x-flv',
|
||
|
'application/x-mpegURL',
|
||
|
'video/MP2T',
|
||
|
'video/3gpp',
|
||
|
'video/quicktime',
|
||
|
'video/x-msvideo',
|
||
|
'video/x-ms-wmv',
|
||
|
|
||
|
// Microsoft Word
|
||
|
'application/msword',
|
||
|
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
||
|
'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
|
||
|
'application/vnd.ms-word.document.macroEnabled.12',
|
||
|
|
||
|
// Microsoft Excel
|
||
|
'application/vnd.ms-excel',
|
||
|
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
||
|
'application/vnd.openxmlformats-officedocument.spreadsheetml.template',
|
||
|
'application/vnd.ms-excel.sheet.macroEnabled.12',
|
||
|
'application/vnd.ms-excel.template.macroEnabled.12',
|
||
|
'application/vnd.ms-excel.addin.macroEnabled.12',
|
||
|
'application/vnd.ms-excel.sheet.binary.macroEnabled.12',
|
||
|
|
||
|
// Microsoft Power Point
|
||
|
'application/vnd.ms-powerpoint',
|
||
|
'application/vnd.openxmlformats-officedocument.presentationml.presentation',
|
||
|
'application/vnd.openxmlformats-officedocument.presentationml.template',
|
||
|
'application/vnd.openxmlformats-officedocument.presentationml.slideshow',
|
||
|
'application/vnd.ms-powerpoint.addin.macroEnabled.12',
|
||
|
'application/vnd.ms-powerpoint.presentation.macroEnabled.12',
|
||
|
'application/vnd.ms-powerpoint.template.macroEnabled.12',
|
||
|
'application/vnd.ms-powerpoint.slideshow.macroEnabled.12',
|
||
|
|
||
|
// Microsoft Access
|
||
|
'application/vnd.ms-access',
|
||
|
|
||
|
// Adobe PDF
|
||
|
'application/pdf',
|
||
|
];
|