Skip to content

Commit

Permalink
Merge pull request #338 from nasirkhan/update
Browse files Browse the repository at this point in the history
Limit file types/ extensions
  • Loading branch information
nasirkhan committed Jun 17, 2022
2 parents 9430a43 + be37318 commit 1c9f099
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion config/file-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,20 @@
*
* [] - no restrictions
*/
'allowFileTypes' => [],
'allowFileTypes' => [
'doc',
'docx',
'gif',
'jpg',
'jpeg',
'pdf',
'png',
'ppt',
'pptx',
'xls',
'xlsx',
// 'zip',
],

/**
* Show / Hide system files and folders.
Expand Down

0 comments on commit 1c9f099

Please sign in to comment.