mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-30 03:09:22 +02:00
news/id route
This commit is contained in:
parent
549c08c096
commit
5578dbaa83
@ -12,6 +12,7 @@ defined('MYAAC') or die('Direct access not allowed!');
|
|||||||
return [
|
return [
|
||||||
['GET', '', 'news.php'], // empty URL = show news
|
['GET', '', 'news.php'], // empty URL = show news
|
||||||
['GET', 'news/archive/{id:int}[/]', 'news/archive.php'],
|
['GET', 'news/archive/{id:int}[/]', 'news/archive.php'],
|
||||||
|
['GET', 'news/{id:int}[/]', 'news/archive.php'],
|
||||||
|
|
||||||
// block access to some files
|
// block access to some files
|
||||||
['*', 'account/base[/]', '404.php'], // this is to block account/base.php
|
['*', 'account/base[/]', '404.php'], // this is to block account/base.php
|
||||||
|
Loading…
x
Reference in New Issue
Block a user