forked from wallabag/wallabag
Language selection on config screen
This commit is contained in:
committed by
Jeremy Benoist
parent
3d3ed955f1
commit
c89d35e851
@ -11,6 +11,10 @@ class WallabagCoreExtension extends Extension
|
||||
{
|
||||
public function load(array $configs, ContainerBuilder $container)
|
||||
{
|
||||
$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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user