Apache-Motd
view release on metacpan or search on metacpan
$tquery =~ s/ct=1//;
$r->args($tquery) if ($tquery =~ /=/);
}
return OK unless $r->is_initial_req;
## MessageFile appears to be missing, pass onto next phase
return OK unless $file;
return OK unless -e $file;
## Look for cookie ($cn) and verify it's value
my $cookies = Apache::Cookie->new($r)->parse;
if (my $c = $cookies->{$cn}) {
my $cv = $c->value;
return OK if ($ct_request == 0 && $cv eq '1');
displayMotd($r);
return DONE;
}
## Prepare cookie information and add outgoing headers
my $cookie = Apache::Cookie->new($r,
( run in 0.459 second using v1.01-cache-2.11-cpan-5467b0d2c73 )