From: Raphaƫl Gertz Date: Mon, 3 Oct 2022 06:22:54 +0000 (+0200) Subject: Prevent site.icon and site.logo arrays to be flattened X-Git-Tag: 0.3.0~248 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/05f12e030d9c39d75f29959596dc3035cd4fb661 Prevent site.icon and site.logo arrays to be flattened --- diff --git a/DependencyInjection/RapsysAirExtension.php b/DependencyInjection/RapsysAirExtension.php index 3f7ea09..a630553 100644 --- a/DependencyInjection/RapsysAirExtension.php +++ b/DependencyInjection/RapsysAirExtension.php @@ -75,7 +75,7 @@ class RapsysAirExtension extends Extension implements PrependExtensionInterface //Store flattened array in parameters //XXX: don't flatten rapsys_air.site.png key which is required to be an array - foreach($this->flatten($config, $this->getAlias(), 10, '.', ['rapsys_air.site.png', 'rapsys_air.facebook.apps', 'rapsys_air.locales', 'rapsys_air.languages']) as $k => $v) { + foreach($this->flatten($config, $this->getAlias(), 10, '.', ['rapsys_air.site.png', 'rapsys_air.site.icon', 'rapsys_air.site.logo', 'rapsys_air.facebook.apps', 'rapsys_air.locales', 'rapsys_air.languages']) as $k => $v) { $container->setParameter($k, $v); } }