]> Raphaƫl G. Git Repositories - packbundle/blobdiff - DependencyInjection/RapsysPackExtension.php
Add getMultiImage
[packbundle] / DependencyInjection / RapsysPackExtension.php
index c73e90ce9fd544bd6a8f9b48585b44a7fa543290..e1f19966186294bbbce1ac153abb28814bffa567 100644 (file)
@@ -42,6 +42,12 @@ class RapsysPackExtension extends Extension {
 
                //Save configuration in parameters
                $container->setParameter(self::getAlias(), $config);
 
                //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']);
        }
 
        /**
        }
 
        /**