From ce4e43f78ad57a77aa3de91c42f74a687641ba24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Fri, 20 Sep 2019 10:46:52 +0200 Subject: [PATCH] allow upload of txt files --- www/_util/Uploader.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/_util/Uploader.php b/www/_util/Uploader.php index ea5d195..a22aac5 100644 --- a/www/_util/Uploader.php +++ b/www/_util/Uploader.php @@ -27,7 +27,8 @@ class Uploader array( 'pdf' => 'application/pdf', 'zip' => 'application/zip', - 'rar' => 'application/rar' + 'rar' => 'application/rar', + 'txt' => 'text/plain' ), true )) {