fixed router:2.0/redirect|api

This commit is contained in:
xdrm-brackets 2016-12-08 19:17:38 +01:00
parent f1987d9512
commit 618a2588be
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
*/
public function __construct($matches){
/* (1) Rebuild request url */
$url = $matches['module'].'/'.$matches['method'].$matches['inurl_arguments'];
$url = $matches['module'].'/'.$matches['method'].$matches['url_arguments'];
/* (2) Creates request */
$this->request = Request::remote($url, $_POST);

View File

@ -19,7 +19,7 @@
*
*/
public function homepage(){
header('Location: /testxfw/homepage/');
header('Location: /homepage/');
}
/* POST-CALL