s4
changeset 873:cb1ff1dcb042
Allow csv
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Wed, 28 Oct 2020 16:00:12 +0900 |
parents | d0572292d033 |
children | b2b0bb5bb707 |
files | s4-funcs.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/s4-funcs.sh Wed Oct 21 09:27:54 2020 +0859 1.2 +++ b/s4-funcs.sh Wed Oct 28 16:00:12 2020 +0900 1.3 @@ -62,7 +62,7 @@ 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,application/x-*"' 1.8 +file_accept='accept="image/*,text/*,audio/*,application/vnd.oasis.*,application/(pdf|csv),application/x-*"' 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_help="