Fixed a silly typo
This commit is contained in:
parent
b7ff72d27b
commit
e32bacc2b5
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ sub handler {
|
|||
return Apache2::Const::DECLINED if ($r->uri =~ m/^$url/);
|
||||
}
|
||||
my $uploads = $config->get("uploadsURL");
|
||||
if ($r->uri =~ m!^uploads/dictionaries!) {
|
||||
if ($r->uri =~ m!^$uploads/dictionaries!) {
|
||||
# Do not allow web-access to personal dictionaries.
|
||||
$r->push_handlers(PerlAccessHandler => sub { return 401 } );
|
||||
} elsif($r->uri =~ m/^$uploads/) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue