X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/789b53d01094a6be3bdf5806de59f616ba35fcdb..efa6c60e1cbb85c6b36745e3570e71bb2f92b7ce:/DependencyInjection/RapsysUserExtension.php diff --git a/DependencyInjection/RapsysUserExtension.php b/DependencyInjection/RapsysUserExtension.php index 58c86a6..56e5dab 100644 --- a/DependencyInjection/RapsysUserExtension.php +++ b/DependencyInjection/RapsysUserExtension.php @@ -18,8 +18,8 @@ class RapsysUserExtension extends Extension { */ public function load(array $configs, ContainerBuilder $container) { //Load configuration - $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'); //Load configuration $configuration = $this->getConfiguration($configs, $container);