- Minor fixes
This commit is contained in:
1 parent
93ec2a7e76
commit
977aef1b26
2 files changed
+4
-2
No files matched your search
+2
@@ -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 ?",
|
||||
|
||||
+2
-2
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user