changeset 512:24a5010a131b

Allow video/
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 14 Mar 2019 16:23:50 +0900
parents f2dec8025291
children 3fcaea2892a8
files s4-funcs.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4-funcs.sh	Thu Mar 14 15:38:08 2019 +0900
+++ b/s4-funcs.sh	Thu Mar 14 16:23:50 2019 +0900
@@ -31,7 +31,7 @@
 ### maximagexy=400x400
 filesize_max=$((5*1024*1024))
 file_accept='accept="image/*,text/*,audio/*,application/vnd.oasis.*,application/pdf,application/x-*"'
-file_accept_egrep='^(text/|image/|audio/|application/(vnd.oasis|pdf|[xz]-))'
+file_accept_egrep='^(text/|message/|image/|audio/|video/|application/(vnd.oasis|pdf|epub|xml|zip||[xz]-))'
 file_warn="
 添付可能ファイル: 5MB以内のテキスト、画像、音声、動画、ODT、PDF、
 圧縮ファイル、データベースファイル

yatex.org