- Minor fixes

This commit is contained in:
Dave Mc Nicoll 2023-02-08 16:36:16 +00:00
parent 93ec2a7e76
commit 977aef1b26
2 changed files with 4 additions and 2 deletions
skeleton/meta/definitions/env
src

@ -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);