app/views/error/show404.volt: adding some weird message.
This commit is contained in:
parent
f82382fdaa
commit
e9c6d1c863
2 changed files with 15 additions and 3 deletions
|
|
@ -14,5 +14,10 @@ class ErrorController extends ControllerBase
|
|||
{
|
||||
// Set status code to 404.
|
||||
$this->response->setStatusCode(404);
|
||||
|
||||
// Get the request uri to pass to google :)
|
||||
$uri = ltrim($this->request->getURI(), '/');
|
||||
$uri = str_replace('/', '+', $uri);
|
||||
$this->view->url = $uri;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue