expanded router part
This commit is contained in:
parent
2820db03bb
commit
dcdeaa0f7e
2 changed files with 65 additions and 1 deletions
|
@ -53,7 +53,7 @@ $response->setContent($content);
|
|||
If you want to try a 404 error, use the following code:
|
||||
|
||||
```
|
||||
$response->setContent('404 - Page not found'');
|
||||
$response->setContent('404 - Page not found');
|
||||
$response->setStatusCode(404);
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue