wip
This commit is contained in:
1 parent
ec33b51bff
commit
b8baf9c65b
2 files changed
+207
-5
No files matched your search
@@ -69,14 +69,15 @@ return [
|
||||
'show_item_layout' => false,
|
||||
|
||||
'allowed_mimes' => [
|
||||
// ZIP
|
||||
'application/zip',
|
||||
'application/x-zip-compressed',
|
||||
// IMG
|
||||
'image/jpeg', 'image/png', 'image/webp', 'image/gif', 'application/pdf',
|
||||
'text/plain', 'text/csv', 'application/msword',
|
||||
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
||||
'application/vnd.ms-excel',
|
||||
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
||||
// ZIP
|
||||
'application/zip',
|
||||
'application/x-zip-compressed',
|
||||
|
||||
// CSV
|
||||
'text/csv',
|
||||
@@ -92,9 +93,9 @@ return [
|
||||
'application/x-tar',
|
||||
],
|
||||
|
||||
'allowed_extensions' => ['jpg', 'jpeg', 'png', 'webp', 'gif', 'pdf', 'txt', 'csv', 'doc', 'docx', 'xls', 'xlsx', 'zip', 'xls', 'xlsx', 'gz', 'tar'],
|
||||
'allowed_extensions' => ['csv', 'doc', 'docx', 'xls', 'xlsx', 'zip', 'xls', 'xlsx', 'gz', 'tar', 'jpg', 'jpeg', 'png', 'webp', 'gif', 'pdf', 'txt'],
|
||||
|
||||
'preview_mimes' => ['image/jpeg', 'image/png', 'image/webp', 'image/gif', 'application/pdf', 'text/plain'],
|
||||
'preview_mimes' => ['application/zip', 'image/jpeg', 'image/png', 'image/webp', 'image/gif', 'application/pdf', 'text/plain'],
|
||||
|
||||
/* Maximum authorised preview and thumbnail requests per minute, per user or guest IP address. */
|
||||
'preview_rate_limit' => 60,
|
||||
|
||||
Reference in new issue
Block a user