Return to publiccheck.pm CVS log | Up to [LON-CAPA] / loncom / auth |
version 1.19, 2010/03/17 19:41:11 | version 1.20, 2013/02/05 21:32:45 |
---|---|
Line 44 sub handler { | Line 44 sub handler { |
my $requrl=$r->uri; | my $requrl=$r->uri; |
if (&Apache::lonnet::is_domainimage($requrl)) { | if (&Apache::lonnet::is_domainimage($requrl)) { |
if ($r->user() eq '') { | |
$r->user('public'); | |
} | |
return OK; | return OK; |
} | } |
if ($requrl =~ m{^/res/adm/pages/[^/]+\.(gif|png)$}) { | if ($requrl =~ m{^/res/adm/pages/[^/]+\.(gif|png)$}) { |
if ($r->user() eq '') { | |
$r->user('public'); | |
} | |
return OK; | return OK; |
} | } |