X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/f110b8ba20232e0ceeb67390f8e672431868d32d..d86136128d0c47dfd85e86e0eb0c2d043a0a2c39:/DependencyInjection/RapsysAirExtension.php?ds=sidebyside 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);