]> Raphaël G. Git Repositories - airbundle/commitdiff
Fix config directory path
authorRaphaël Gertz <git@rapsys.eu>
Mon, 28 Oct 2019 20:21:00 +0000 (21:21 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Mon, 28 Oct 2019 20:21:00 +0000 (21:21 +0100)
DependencyInjection/RapsysAirExtension.php

index 5a2bdfff5d15169adcc1443cbedb4faa3101f4ca..8866181c7dea013165055b78dd14d7aa7a9b3721 100644 (file)
@@ -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);