Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 7 |
Errors | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 7 |
notFound | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 7 |
<?php namespace App\Controllers; | |
class Errors extends BaseController | |
{ | |
public function notFound() | |
{ | |
$this->response->setStatusCode(404); | |
return $this->renderPage('errors/not-found', [ | |
'title' => lang('errors.404-notFound'), | |
'home_url' => route_url('home', [], [8080]), // TODO: origin | |
]); | |
} | |
} |