From d93a46265ce80721a782f2bf228513b7183c79b9 Mon Sep 17 00:00:00 2001 From: Dave Cross Date: Thu, 17 Sep 2015 07:16:16 +0100 Subject: [PATCH] Live bodge --- Kinza/lib/Kinza.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kinza/lib/Kinza.pm b/Kinza/lib/Kinza.pm index 9c62358..2657abb 100644 --- a/Kinza/lib/Kinza.pm +++ b/Kinza/lib/Kinza.pm @@ -42,7 +42,7 @@ my %private = map { $_ => 1 } qw[/submit]; my %open = map { $_ => 1 } qw[/closed /years /reports]; hook before => sub { - if (! $open{request->path_info} and $now < $reg_live) { + if (! $open{request->path_info}) { forward '/closed'; } if ($private{request->path_info} and ! session('user')) {