From: Raphaƫl Gertz Date: Tue, 7 Sep 2021 13:35:41 +0000 (+0200) Subject: Add public path and url X-Git-Tag: 0.2.0~9 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/packbundle/commitdiff_plain/08acfd9db7f2dbc2ce527f1470764fba579a86ea Add public path and url --- 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']); } /**