From 08acfd9db7f2dbc2ce527f1470764fba579a86ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Tue, 7 Sep 2021 15:35:41 +0200 Subject: [PATCH] Add public path and url --- DependencyInjection/RapsysPackExtension.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/DependencyInjection/RapsysPackExtension.php b/DependencyInjection/RapsysPackExtension.php index c73e90c..e1f1996 100644 --- a/DependencyInjection/RapsysPackExtension.php +++ b/DependencyInjection/RapsysPackExtension.php @@ -42,6 +42,12 @@ class RapsysPackExtension extends Extension { //Save configuration in parameters $container->setParameter(self::getAlias(), $config); + + //Set rapsys_pack.public.path key + $container->setParameter(self::getAlias().'.public.path', $config['public']['path']); + + //Set rapsys_pack.public.url key + $container->setParameter(self::getAlias().'.public.url', $config['public']['url']); } /** -- 2.41.1