Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-mw committed Jul 4, 2022
1 parent 9ebbb4d commit 39797cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MicroweberPackages/Utils/System/Files.php
Expand Up @@ -1154,11 +1154,11 @@ function get_allowed_files_extensions_for_upload($fileTypes = 'images', $returnA
break;
case 'file':
case 'files':
$are_allowed .= ',css,doc,docx,pdf,json,rtf,txt,zip,gzip,rar,psd,xlsx,csv,7z';
$are_allowed .= ',css,json,zip,gzip,csv,7z';
break;
case 'documents':
case 'doc':
$are_allowed .= ',doc,docx,pdf,log,odt,pages,rtf,tex,txt,wpd,wps,pps,ppt,pptx,xlr,xls,xlsx';
$are_allowed .= ',doc,docx,pdf,odt,pages,rtf,txt,pps,ppt,pptx,xls,xlsx';
break;
case 'archives':
case 'arc':
Expand Down

0 comments on commit 39797cd

Please sign in to comment.