Rapsys Git
/
packbundle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0117cc
)
Add public path and url
author
Raphaël Gertz
<git@rapsys.eu>
Tue, 7 Sep 2021 13:35:41 +0000
(15:35 +0200)
committer
Raphaël Gertz
<git@rapsys.eu>
Tue, 7 Sep 2021 13:35:41 +0000
(15:35 +0200)
DependencyInjection/RapsysPackExtension.php
patch
|
blob
|
history
diff --git
a/DependencyInjection/RapsysPackExtension.php
b/DependencyInjection/RapsysPackExtension.php
index c73e90ce9fd544bd6a8f9b48585b44a7fa543290..e1f19966186294bbbce1ac153abb28814bffa567 100644
(file)
--- 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']);
}
/**