Skip to content

Commit

Permalink
Make more stuff open when the site is closed.
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Sep 21, 2015
1 parent abbb2ff commit 0ba89c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kinza/lib/Kinza.pm
Expand Up @@ -39,7 +39,7 @@ my $reg_live = $dt_p->parse_datetime($ENV{KZ_REG_OPEN});
my $sel_live = $dt_p->parse_datetime($ENV{KZ_SEL_OPEN});

my %private = map { $_ => 1 } qw[/submit];
my %open = map { $_ => 1 } qw[/closed /years /reports];
my %open = map { $_ => 1, "$_/" => 1 } qw[/closed /years /reports /courses];
my %reg_open = (%open, map { $_ => 1 } qw[/register]);

hook before => sub {
Expand Down

0 comments on commit 0ba89c9

Please sign in to comment.