s4
changeset 874:b2b0bb5bb707
Allow csv
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Wed, 28 Oct 2020 16:01:46 +0900 |
parents | cb1ff1dcb042 |
children | 380167e9cfcf |
files | s4-funcs.sh |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/s4-funcs.sh Wed Oct 28 16:00:12 2020 +0900 1.2 +++ b/s4-funcs.sh Wed Oct 28 16:01:46 2020 +0900 1.3 @@ -62,9 +62,9 @@ 1.4 ### maximagexy=400x400 1.5 filesize_max=$((5*1024*1024)) 1.6 filesize_max_MB="$((filesize_max/1024/1024))MB" 1.7 -file_accept='accept="image/*,text/*,audio/*,application/vnd.oasis.*,application/(pdf|csv),application/x-*"' 1.8 +file_accept='accept="image/*,text/*,audio/*,application/vnd.oasis.*,application/pdf,application/x-*,application/csv"' 1.9 file_accept='accept=".jpg,.jpeg,.gif,.png,.tiff,.pdf,.odt,.ods,.odp,.odg,.mp3,.mp4,.avi,.ogg,.mov,.webm,.gpx,.json,.geojson,.kml,.html,.css,.rb,.c,.h,.txt,.tex,.sty,.zip,.xcf,.bz2,.gz,.xz,.7z,.csv,.dat"' 1.10 -file_accept_egrep='^(text/|message/|image/|audio/|video/|application/(vnd.oasis|pdf|epub|xml|.*zip|[xz]-|json))' 1.11 +file_accept_egrep='^(text/|message/|image/|audio/|video/|application/(vnd.oasis|pdf|epub|xml|.*zip|[xz]-|json|csv))' 1.12 file_accept_help=" 1.13 添付可能ファイル: テキスト、画像、音声、動画、ODF、PDF、 1.14 圧縮ファイル、データベースファイル