--- loncom/auth/publiccheck.pm 2006/11/23 01:49:41 1.11 +++ loncom/auth/publiccheck.pm 2007/01/24 19:39:22 1.13 @@ -1,7 +1,7 @@ # The LearningOnline Network # Cookie Based Access Handler # -# $Id: publiccheck.pm,v 1.11 2006/11/23 01:49:41 albertel Exp $ +# $Id: publiccheck.pm,v 1.13 2007/01/24 19:39:22 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -37,6 +37,7 @@ use Apache::lonlocal; use CGI::Cookie(); use Fcntl qw(:flock); use Apache::lonacc(); +use LONCAPA(); sub handler { my $r = shift; @@ -72,6 +73,9 @@ sub handler { } elsif ($requrl eq '/adm/restrictedaccess') { &process_public($r,$requrl); return OK; + } elsif ($requrl eq '/adm/blockedaccess') { + &process_public($r,$requrl); + return OK; } return DECLINED; }