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 wrap: on
line diff
--- a/s4-funcs.sh	Wed Oct 21 09:27:54 2020 +0859
+++ b/s4-funcs.sh	Wed Oct 28 16:00:12 2020 +0900
@@ -62,7 +62,7 @@
 ### maximagexy=400x400
 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='accept="image/*,text/*,audio/*,application/vnd.oasis.*,application/(pdf|csv),application/x-*"'
 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"'
 file_accept_egrep='^(text/|message/|image/|audio/|video/|application/(vnd.oasis|pdf|epub|xml|.*zip|[xz]-|json))'
 file_accept_help="

yatex.org