mirror of
https://github.com/slawkens/myaac.git
synced 2025-05-03 12:49:20 +02:00
block access to some files
This commit is contained in:
parent
eb4ea48641
commit
6c5215a8ed
@ -12,7 +12,11 @@ return [
|
||||
['GET', '', '__redirect__/news'], // redirect empty URL to news
|
||||
['GET', 'news/archive/{id:[0-9]+}[/]', 'news/archive.php'],
|
||||
|
||||
// block access to some files
|
||||
['*', 'account/base[/]', '404.php'], // this is to block account/base.php
|
||||
['*', 'forum/base[/]', '404.php'],
|
||||
['*', 'guilds/base[/]', '404.php'],
|
||||
|
||||
[['GET', 'POST'], 'account/password[/]', 'account/change_password.php'],
|
||||
[['GET', 'POST'], 'account/register/new[/]', 'account/register_new.php'],
|
||||
[['GET', 'POST'], 'account/email[/]', 'account/change_email.php'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user