Mercurial > hgrepos > hgweb.cgi > 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 wrap: on
line diff
--- a/s4-funcs.sh Sun Apr 14 14:27:04 2019 +0900 +++ b/s4-funcs.sh Sun Apr 14 15:33:21 2019 +0900 @@ -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} 以内) "