# HG changeset patch # User ARAKI Tsuyohito # Date 1445941223 -32400 # Node ID 4c8008560e9b7eb954415aea69c828c2c250328b # Parent 0d0f7725ca434c7c97349e04c4726526efc5215d hogehge diff -r 0d0f7725ca43 -r 4c8008560e9b oasis2015/accountcheck.rb --- a/oasis2015/accountcheck.rb Tue Oct 27 19:13:02 2015 +0900 +++ b/oasis2015/accountcheck.rb Tue Oct 27 19:20:23 2015 +0900 @@ -83,7 +83,7 @@ -expires = "SAT, 24 Oct 2015 00:00:00 GMT" +expires = "SAT, 31 Oct 2015 00:00:00 GMT" printf("Content-type: text/html; charset=UTF-8 Set-Cookie:id=%s ;expires=%s diff -r 0d0f7725ca43 -r 4c8008560e9b oasis2015/prof.rb --- a/oasis2015/prof.rb Tue Oct 27 19:13:02 2015 +0900 +++ b/oasis2015/prof.rb Tue Oct 27 19:20:23 2015 +0900 @@ -134,6 +134,7 @@ qrAC = qrc ###生成したハッシュには、"乱数"=>"記号"が入っている getAC = ARGV[0].to_i ###URL?以降の文字(特定の乱数)を取得してgetACに代入 qr = qrAC[getAC] ###特定の"乱数"が一致すると、"乱数"=>"記号"がqrに正しく入力される。 +qr = ARGV[0] if qr =="a" && q1 == 0 q1 += 1 jikan2 = db.execute(jikan1, "a") diff -r 0d0f7725ca43 -r 4c8008560e9b opencampus2015/accountcheck.rb --- a/opencampus2015/accountcheck.rb Tue Oct 27 19:13:02 2015 +0900 +++ b/opencampus2015/accountcheck.rb Tue Oct 27 19:20:23 2015 +0900 @@ -103,7 +103,7 @@ -expires = "SUN, 25 Oct 2015 00:00:00 GMT" +expires = "SUN, 5, MAR 2017 00:00:00 GMT" printf("Content-type: text/html; charset=UTF-8 Set-Cookie:id=%s ;expires=%s diff -r 0d0f7725ca43 -r 4c8008560e9b opencampus2015/prof.rb --- a/opencampus2015/prof.rb Tue Oct 27 19:13:02 2015 +0900 +++ b/opencampus2015/prof.rb Tue Oct 27 19:20:23 2015 +0900 @@ -274,8 +274,6 @@ elsif no2 > 0 && no3 > 0 chengeform +="