mirror of
https://github.com/slawkens/myaac.git
synced 2025-12-10 02:50:46 +01:00
feat: Rewrite of the core: avoid globals where possible
Create services for: login, status, router, database, AnonymousStatistics Drop gesior.backward_support Drop compat/pages.php Drop part of compat/classes.php Move signature to routes
This commit is contained in:
@@ -14,6 +14,8 @@ return [
|
||||
['GET', 'news/archive/{id:int}', 'news/archive.php'],
|
||||
['GET', 'news/{id:int}', 'news/archive.php'],
|
||||
|
||||
['GET', '{name:string}.png', 'signature.php'],
|
||||
|
||||
// block access to some files
|
||||
['*', 'account/base', '404.php', 10], // this is to block account/base.php
|
||||
['*', 'forum/base', '404.php', 10],
|
||||
|
||||
Reference in New Issue
Block a user