mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Fix FAQ actions
This commit is contained in:
parent
1f95a415aa
commit
30fe42939d
@ -206,6 +206,7 @@ else {
|
|||||||
|
|
||||||
$_REQUEST = array_merge($_REQUEST, $vars);
|
$_REQUEST = array_merge($_REQUEST, $vars);
|
||||||
$_GET = array_merge($_GET, $vars);
|
$_GET = array_merge($_GET, $vars);
|
||||||
|
extract($vars);
|
||||||
|
|
||||||
if (strpos($path, '__database__/') !== false) {
|
if (strpos($path, '__database__/') !== false) {
|
||||||
$pageName = str_replace('__database__/', '', $path);
|
$pageName = str_replace('__database__/', '', $path);
|
||||||
|
@ -34,7 +34,7 @@ return [
|
|||||||
['GET', 'changelog[/{page:int}]', 'changelog.php'],
|
['GET', 'changelog[/{page:int}]', 'changelog.php'],
|
||||||
[['GET', 'POST'], 'creatures[/{name:string}]', 'creatures.php'],
|
[['GET', 'POST'], 'creatures[/{name:string}]', 'creatures.php'],
|
||||||
|
|
||||||
['GET', 'faq[/{action:string}]', 'faq.php'],
|
[['GET', 'POST'], 'faq[/{action:string}]', 'faq.php'],
|
||||||
|
|
||||||
[['GET', 'POST'], 'forum/{action:string}[/]', 'forum.php'],
|
[['GET', 'POST'], 'forum/{action:string}[/]', 'forum.php'],
|
||||||
['GET', 'forum/board/{id:int}[/]', 'forum/show_board.php'],
|
['GET', 'forum/board/{id:int}[/]', 'forum/show_board.php'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user