s4
diff s4.cgi.m4 @ 490:e4b929e40fa8
Add feature of limiting date range of POST count
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Fri, 08 Jun 2018 09:36:21 +0900 |
parents | |
children | 9cf0b6b7bb90 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/s4.cgi.m4 Fri Jun 08 09:36:21 2018 +0900 1.3 @@ -0,0 +1,31 @@ 1.4 +`#'!m4_indir(`_SHELL_') 1.5 +# 愛 1.6 +m4_changequote(``,'')mydir=`dirname $0` 1.7 +. $mydir/s4-funcs.sh 1.8 + 1.9 +cgiinit 1.10 +if [ -z "$guestonlymode" ]; then 1.11 + if [ x"$1" = x"reg" ]; then 1.12 + contenttype; echo 1.13 + regist $2 1.14 + putfooter 1.15 + exit 1.16 + fi 1.17 + 1.18 + dologin 1.19 +fi 1.20 + 1.21 +case ${SERVER_SOFTWARE} in 1.22 + bozohttp*) # Ugly workaround for bozohttpd, which can't send 1.23 + # two or more arguments. 1.24 + set -- `echo "$@"|(IFS=+ read a b c d e f g; echo $a $b $c $d $e $f $g)` 1.25 + ;; 1.26 +esac 1.27 + 1.28 +# err 1=$1 2=$2 3=$3 4=$4 1.29 +stage=`getpar stage` 1.30 +stage=${stage:-$1} 1.31 +case ${stage} in 1.32 +m4_sinclude(_CASE_)esac 1.33 + 1.34 +putfooter