- $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
- $loader->load('services.xml');
+ $configuration = new Configuration();
+ $config = $this->processConfiguration($configuration, $configs);
+ $container->setParameter('wallabag_core.languages', $config['languages']);
+
+ $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
+ $loader->load('services.yml');