s4
changeset 562:3b5561ea2117
Ooops, file_accept pattern was wrong...
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sun, 14 Apr 2019 15:33:21 +0900 |
parents | 593e5ae3bd49 |
children | 7ab2ceb1b8dd |
files | s4-funcs.sh |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/s4-funcs.sh Sun Apr 14 14:27:04 2019 +0900 1.2 +++ b/s4-funcs.sh Sun Apr 14 15:33:21 2019 +0900 1.3 @@ -33,8 +33,9 @@ 1.4 filesize_max=$((5*1024*1024)) 1.5 filesize_max_MB="$((filesize_max/1024/1024))MB" 1.6 file_accept='accept="image/*,text/*,audio/*,application/vnd.oasis.*,application/pdf,application/x-*"' 1.7 -file_accept_egrep='^(text/|message/|image/|audio/|video/|application/(vnd.oasis|pdf|epub|xml|zip||[xz]-))' 1.8 -file_accept_help="添付可能ファイル: テキスト、画像、音声、動画、ODT、PDF、 1.9 +file_accept_egrep='^(text/|message/|image/|audio/|video/|application/(vnd.oasis|pdf|epub|xml|zip|[xz]-))' 1.10 +file_accept_help=" 1.11 +添付可能ファイル: テキスト、画像、音声、動画、ODF、PDF、 1.12 圧縮ファイル、データベースファイル 1.13 (いずれも ${filesize_max_MB} 以内) 1.14 "