allow upload of txt files

This commit is contained in:
Tomáš Mládek 2019-09-20 10:46:52 +02:00 committed by Tomáš Mládek
parent 0d6a15f06c
commit ce4e43f78a

View file

@ -27,7 +27,8 @@ class Uploader
array( array(
'pdf' => 'application/pdf', 'pdf' => 'application/pdf',
'zip' => 'application/zip', 'zip' => 'application/zip',
'rar' => 'application/rar' 'rar' => 'application/rar',
'txt' => 'text/plain'
), ),
true true
)) { )) {