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 diff
1.1 --- a/s4-funcs.sh Fri Jul 31 16:44:30 2015 +0900 1.2 +++ b/s4-funcs.sh Fri Jul 31 23:21:08 2015 +0900 1.3 @@ -328,7 +328,7 @@ 1.4 # $1=id|gname 1.5 sql="select coalesce((select gname from grp where gname=$(sqlquote $1)), 1.6 (select gname from grp where rowid=$(sqlquote $1)));" 1.7 -err ggbyid: `echo $sql` 1.8 + # err ggbyid: `echo $sql` 1.9 query $sql 1.10 } 1.11 isfilereadable() { # $1=user $2=tbl $3=rowid 1.12 @@ -2019,7 +2019,7 @@ 1.13 <input name="confirm" type=checkbox value="yes">はい</span>' 1.14 fi 1.15 # Image Cache dir 1.16 - td=`getcachedir $2` 1.17 + td=`getcachedir $2$3` 1.18 while IFS=: read prompt name keytype type args; do 1.19 [ -z "${prompt%%\#*}" ] && continue # skip comment line(#) 1.20 sp="${args:+ }" 1.21 @@ -2197,7 +2197,8 @@ 1.22 $layout/html.m4.html $layout/form+dump.m4.html 1.23 } 1.24 showattc() { 1.25 - # $1=table_m $2=rowid $3=val 1.26 + # $1=table_m $2=rowid 1.27 + err \$1=$1 \$2=$2 1.28 if ! isfilereadable $user $1 $2; then 1.29 contenttype; echo 1.30 echo "このファイルは管理者のみしか見られません" | html p