mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 17:54:55 +02:00
Another approach to fix duplicates - priorities
Priority description: (lower number - higher priority) 1-99 Highest priority - overrides everything, even pages from database, use with caption 100 - default for pages in database 101-999 - recommended range for plugins 1000 - default value for plugins if no other specified 1001 - 9999 - no usage currently 10000 - default myaac routes
This commit is contained in:
@@ -15,9 +15,9 @@ return [
|
||||
['GET', 'news/{id:int}', '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'],
|
||||
['*', 'account/base', '404.php', 10], // this is to block account/base.php
|
||||
['*', 'forum/base', '404.php', 10],
|
||||
['*', 'guilds/base', '404.php', 10],
|
||||
|
||||
[['GET', 'POST'], 'account/password', 'account/change_password.php'],
|
||||
[['GET', 'POST'], 'account/register/new', 'account/register_new.php'],
|
||||
|
Reference in New Issue
Block a user