diff --git a/s4-funcs.sh b/s4-funcs.sh index e23a93a..3d7d0a7 100755 --- a/s4-funcs.sh +++ b/s4-funcs.sh @@ -33,8 +33,9 @@ filesize_max=$((5*1024*1024)) filesize_max_MB="$((filesize_max/1024/1024))MB" file_accept='accept="image/*,text/*,audio/*,application/vnd.oasis.*,application/pdf,application/x-*"' -file_accept_egrep='^(text/|message/|image/|audio/|video/|application/(vnd.oasis|pdf|epub|xml|zip||[xz]-))' -file_accept_help="添付可能ファイル: テキスト、画像、音声、動画、ODT、PDF、 +file_accept_egrep='^(text/|message/|image/|audio/|video/|application/(vnd.oasis|pdf|epub|xml|zip|[xz]-))' +file_accept_help=" +添付可能ファイル: テキスト、画像、音声、動画、ODF、PDF、 圧縮ファイル、データベースファイル (いずれも ${filesize_max_MB} 以内) "