eee
This commit is contained in:
@@ -45,8 +45,6 @@ abstract class AbstractHandler
|
|||||||
$middleware = $this->middlewares[$this->offset];
|
$middleware = $this->middlewares[$this->offset];
|
||||||
$this->offset += 1;
|
$this->offset += 1;
|
||||||
|
|
||||||
var_dump($this->handler);
|
|
||||||
|
|
||||||
return $middleware->process($request, $this);
|
return $middleware->process($request, $this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -15,8 +15,8 @@ class NotFoundController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function fail(): ResponseInterface
|
public function fail(): ResponseInterface
|
||||||
{
|
{
|
||||||
|
var_dump($this->request);
|
||||||
if ($this->request->getMethod() == 'OPTIONS') {
|
if ($this->request->getMethod() == 'OPTIONS') {
|
||||||
var_dump($this->response);
|
|
||||||
return $this->response->html('');
|
return $this->response->html('');
|
||||||
} else {
|
} else {
|
||||||
return $this->response->withStatus(404, "not found page.");
|
return $this->response->withStatus(404, "not found page.");
|
||||||
|
|||||||
Reference in New Issue
Block a user