changeset 604:a31835e3038c

updated
author MURAKAMI Masaki <c112124@h.koeki-u.ac.jp>
date Sat, 26 Jul 2014 09:46:29 +0900
parents 3cd3d0db5f0a
children e319e99441af
files minato2014/admin/chusen.rb minato2014/admin/delete.rb
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/minato2014/admin/chusen.rb	Sat Jul 26 09:44:12 2014 +0900
+++ b/minato2014/admin/chusen.rb	Sat Jul 26 09:46:29 2014 +0900
@@ -19,8 +19,8 @@
 rank_sum = db.execute(sum).flatten(2)[0].to_i
 
 t = Time.now
-expires = Time.local(2014, 7, 25, 16, 35)
-expires2 = Time.local(2014, 7, 25, 16, 40)
+expires = Time.local(2014, 7, 26, 11, 27)
+expires2 = Time.local(2014, 7, 26, 13, 27)
 if t > expires && rank_sum == 0
 elsif t > expires2 && rank_sum == 7
 else
--- a/minato2014/admin/delete.rb	Sat Jul 26 09:44:12 2014 +0900
+++ b/minato2014/admin/delete.rb	Sat Jul 26 09:46:29 2014 +0900
@@ -11,7 +11,7 @@
 
 printf("Content-type: text/html; charset=UTF-8\n\n")
 
-if /^(172\.19\.5\.|172\.17\.54\.|172\.21\.90\.)|118.21.142.107|202.214.125/ =~ add
+if /^(172\.19\.5\.|172\.17\.54\.|172\.21\.90\.)|118.21.142.107|202.214.125.107/ =~ add
 check = c['check']
 if check == "OK"
   begin

yatex.org