- show HTTP error codes in HTML title tag

This commit is contained in:
Exodus4D
2017-05-12 20:41:28 +02:00
parent 785cf6332b
commit cc4de64673

View File

@@ -615,6 +615,7 @@ class Controller {
echo json_encode($return);
die();
}else{
$f3->set('pageTitle', 'ERROR - ' . $error->code);
// set error data for template rendering
$error->redirectUrl = $this->getRouteUrl();
$f3->set('errorData', $error);