Mercurial > hgrepos > hgweb.cgi > skipweb
changeset 3292:42f3d1cc474d
path
author | Minoru Konno <c113069@e.koeki-u.ac.jp> |
---|---|
date | Fri, 29 Jul 2016 23:09:20 +0900 |
parents | 8f65f77ae27a |
children | 14337df69def |
files | event/oasis2016/don/ckgame.rb event/oasis2016/sea/ckgame.rb event/oasis2016/tori/ckgame.rb |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/event/oasis2016/don/ckgame.rb Fri Jul 29 19:33:28 2016 +0900 +++ b/event/oasis2016/don/ckgame.rb Fri Jul 29 23:09:20 2016 +0900 @@ -28,7 +28,7 @@ expire = (Time.now+24*3600).gmtime.strftime("%a, %d %b %Y %H:%M:%S GMT") printf("Content-type: text/html; charset=UTF-8\n") -printf("Set-Cookie: id=%s; expires=%s; path=/oasis2016\n\n", id, expire) +printf("Set-Cookie: id=%s; expires=%s; path=/event/oasis2016\n\n", id, expire) db = YAML::Store.new(file) db.transaction do
--- a/event/oasis2016/sea/ckgame.rb Fri Jul 29 19:33:28 2016 +0900 +++ b/event/oasis2016/sea/ckgame.rb Fri Jul 29 23:09:20 2016 +0900 @@ -28,7 +28,7 @@ # 変数の期限を24時間に設定し、expire変数に入れる expire = (Time.now+24*3600).gmtime.strftime("%a, %d %b %Y %H:%M:%S GMT") printf("Content-type: text/html; charset=UTF-8\n") -printf("Set-Cookie: id=%s; expires=%s; path=/oasis2016\n\n", id, expire) +printf("Set-Cookie: id=%s; expires=%s; path=/event/oasis2016\n\n", id, expire) db = YAML::Store.new(file) db.transaction do
--- a/event/oasis2016/tori/ckgame.rb Fri Jul 29 19:33:28 2016 +0900 +++ b/event/oasis2016/tori/ckgame.rb Fri Jul 29 23:09:20 2016 +0900 @@ -26,7 +26,7 @@ # 変数の期限を24時間に設定し、expire変数に入れる expire = (Time.now+24*3600).gmtime.strftime("%a, %d %b %Y %H:%M:%S GMT") printf("Content-type: text/html; charset=UTF-8\n") -printf("Set-Cookie: id=%s; expires=%s; path=/oasis2016\n\n", id, expire) +printf("Set-Cookie: id=%s; expires=%s; path=/event/oasis2016\n\n", id, expire) db = YAML::Store.new(file) db.transaction do