s4

changeset 638:b29e31dc3fbd

Quiz-detection SQL file should be located in temporary dir
author HIROSE Yuuji <yuuji@gentei.org>
date Sun, 03 May 2020 16:47:54 +0900
parents 2b1339d50b30
children 1c36cb1a1a0e
files s4-blog.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/s4-blog.sh	Sun May 03 13:44:17 2020 +0900
     1.2 +++ b/s4-blog.sh	Sun May 03 16:47:54 2020 +0900
     1.3 @@ -207,7 +207,7 @@
     1.4    href4='<a href="#bottom" accesskey="b" title="B"> 末尾へ</a>'
     1.5    $isgrpadmin &&
     1.6        href5="<a href=\"?blogseen+$rowid\" accesskey=\"s\" title=\"S\"> 読刻</a>"
     1.7 -  quizmodefile=$td/quiz; rm -f "$quizmodefile"	# XXX: Global state
     1.8 +  quizmodefile=$tmpd/quiz; rm -f "$quizmodefile"	# XXX: Global state
     1.9  
    1.10    query<<-EOF |
    1.11  	SELECT coalesce((SELECT "yes" FROM blog