Routing/Fixup
* always route requests where page equals page parameter (i.e. /?spell=spell; /?user=user) to BaseResponse * fixes #486
This commit is contained in:
parent
e675a8f953
commit
0378a84373
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ try {
|
||||||
$responder = new \StdClass;
|
$responder = new \StdClass;
|
||||||
|
|
||||||
// 1. try specialized response
|
// 1. try specialized response
|
||||||
if (file_exists('endpoints/'.$pageCall.'/'.$file.'.php'))
|
if (file_exists('endpoints/'.$pageCall.'/'.$file.'.php') && $pageCall != $file)
|
||||||
{
|
{
|
||||||
require_once 'endpoints/'.$pageCall.'/'.$file.'.php';
|
require_once 'endpoints/'.$pageCall.'/'.$file.'.php';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue