diff --git a/Admin/Install/Application/Shop/Application.php b/Admin/Install/Application/Shop/Application.php index 65dc327..d329560 100755 --- a/Admin/Install/Application/Shop/Application.php +++ b/Admin/Install/Application/Shop/Application.php @@ -166,7 +166,7 @@ final class Application } if (!\in_array($response->header->l11n->language, $this->config['language'])) { - $response->header->l11n->setLanguage($this->app->l11nServer->getLanguage()); + $response->header->l11n->setLanguage($this->app->l11nServer->language); } $pageView = new ShopView($this->app->l11nManager, $request, $response); diff --git a/Controller/Controller.php b/Controller/Controller.php index ba9cb1e..658deaf 100755 --- a/Controller/Controller.php +++ b/Controller/Controller.php @@ -66,7 +66,7 @@ class Controller extends ModuleAbstract implements WebInterface * @var string[] * @since 1.0.0 */ - protected static array $providing = [ + public static array $providing = [ ]; /** @@ -75,5 +75,5 @@ class Controller extends ModuleAbstract implements WebInterface * @var string[] * @since 1.0.0 */ - protected static array $dependencies = []; + public static array $dependencies = []; }