# HG changeset patch # User HIROSE Yuuji # Date 1552548230 -32400 # Node ID 24a5010a131b774f745f0706d4c439430b197c8f # Parent f2dec802529145648206229b64a5a14e741552c2 Allow video/ diff -r f2dec8025291 -r 24a5010a131b s4-funcs.sh --- 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、 圧縮ファイル、データベースファイル