Mercurial > hgrepos > hgweb.cgi > s4
changeset 71:3a157da0801d
cache name fixed
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Fri, 31 Jul 2015 23:21:08 +0900 |
parents | 7882917ecd33 |
children | 3dc3ddd2d3e5 |
files | s4-funcs.sh |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/s4-funcs.sh Fri Jul 31 16:44:30 2015 +0900 +++ b/s4-funcs.sh Fri Jul 31 23:21:08 2015 +0900 @@ -328,7 +328,7 @@ # $1=id|gname sql="select coalesce((select gname from grp where gname=$(sqlquote $1)), (select gname from grp where rowid=$(sqlquote $1)));" -err ggbyid: `echo $sql` + # err ggbyid: `echo $sql` query $sql } isfilereadable() { # $1=user $2=tbl $3=rowid @@ -2019,7 +2019,7 @@ <input name="confirm" type=checkbox value="yes">はい</span>' fi # Image Cache dir - td=`getcachedir $2` + td=`getcachedir $2$3` while IFS=: read prompt name keytype type args; do [ -z "${prompt%%\#*}" ] && continue # skip comment line(#) sp="${args:+ }" @@ -2197,7 +2197,8 @@ $layout/html.m4.html $layout/form+dump.m4.html } showattc() { - # $1=table_m $2=rowid $3=val + # $1=table_m $2=rowid + err \$1=$1 \$2=$2 if ! isfilereadable $user $1 $2; then contenttype; echo echo "このファイルは管理者のみしか見られません" | html p