From: Raphaƫl Gertz Date: Mon, 28 Oct 2019 20:21:00 +0000 (+0100) Subject: Fix config directory path X-Git-Tag: 0.0.2~12 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/6d559592884a83affaa17a2420c478baa6046077?ds=sidebyside Fix config directory path --- diff --git a/DependencyInjection/RapsysAirExtension.php b/DependencyInjection/RapsysAirExtension.php index 5a2bdff..8866181 100644 --- a/DependencyInjection/RapsysAirExtension.php +++ b/DependencyInjection/RapsysAirExtension.php @@ -17,8 +17,8 @@ class RapsysAirExtension extends Extension { * {@inheritdoc} */ public function load(array $configs, ContainerBuilder $container) { - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); - $loader->load('services.yml'); + $loader = new Loader\YamlFileLoader($container, new FileLocator('config/packages')); + $loader->load($this->getAlias().'.yaml'); $configuration = new Configuration(); $config = $this->processConfiguration($configuration, $configs);