- Minor fixes
This commit is contained in:
parent
93ec2a7e76
commit
977aef1b26
2
skeleton/meta/definitions/env/prod.php
vendored
2
skeleton/meta/definitions/env/prod.php
vendored
@ -31,6 +31,8 @@ return [
|
||||
|
||||
'app.errorhandler.html' => function($c, Picea $picea) {
|
||||
return function(\Throwable $exception) use ($picea) {
|
||||
error_log($exception->getMessage());
|
||||
|
||||
return new HtmlResponse($picea->renderHtml('lean/error/500', [
|
||||
'title' => "Une erreur s'est produite lors de l'exécution du script.",
|
||||
'subtitle' => "Êtes-vous connecté avec le bon compte ?",
|
||||
|
@ -85,11 +85,11 @@ class Routing {
|
||||
|
||||
# $container->set($class, autowire($class)->method($method, $request));
|
||||
|
||||
if ( null !== ( $languageAnnotation = $this->language->verify($class) ) ) {
|
||||
/*if ( null !== ( $languageAnnotation = $this->language->verify($class) ) ) {
|
||||
if ( $languageAnnotation->key ) {
|
||||
# TODO !!! $language
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
$object = $container->get($class);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user