diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-06-01 10:42:19 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2017-06-06 15:36:21 +0200 |
commit | be9d693e74e41fdcdb18bf80aa1aff614154bcce (patch) | |
tree | 2e74f165061d45294a6732a06cfe61ebeeb67535 /src/Wallabag/CoreBundle/DependencyInjection | |
parent | 6ed2627bb35561e32d702fbe67247349dd67453e (diff) | |
download | wallabag-be9d693e74e41fdcdb18bf80aa1aff614154bcce.tar.gz wallabag-be9d693e74e41fdcdb18bf80aa1aff614154bcce.tar.zst wallabag-be9d693e74e41fdcdb18bf80aa1aff614154bcce.zip |
remove craueconfig domain name setting and add a proper one in parameters
Diffstat (limited to 'src/Wallabag/CoreBundle/DependencyInjection')
-rw-r--r-- | src/Wallabag/CoreBundle/DependencyInjection/Configuration.php | 1 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/DependencyInjection/WallabagCoreExtension.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/DependencyInjection/Configuration.php b/src/Wallabag/CoreBundle/DependencyInjection/Configuration.php index 33df92d3..37f7c761 100644 --- a/src/Wallabag/CoreBundle/DependencyInjection/Configuration.php +++ b/src/Wallabag/CoreBundle/DependencyInjection/Configuration.php | |||
@@ -62,6 +62,7 @@ class Configuration implements ConfigurationInterface | |||
62 | ->end() | 62 | ->end() |
63 | ->end() | 63 | ->end() |
64 | ->end() | 64 | ->end() |
65 | ->scalarNode('domain_name') | ||
65 | ->end() | 66 | ->end() |
66 | ->end() | 67 | ->end() |
67 | ; | 68 | ; |
diff --git a/src/Wallabag/CoreBundle/DependencyInjection/WallabagCoreExtension.php b/src/Wallabag/CoreBundle/DependencyInjection/WallabagCoreExtension.php index b4d8a386..d0b4351e 100644 --- a/src/Wallabag/CoreBundle/DependencyInjection/WallabagCoreExtension.php +++ b/src/Wallabag/CoreBundle/DependencyInjection/WallabagCoreExtension.php | |||
@@ -29,6 +29,7 @@ class WallabagCoreExtension extends Extension | |||
29 | $container->setParameter('wallabag_core.fetching_error_message_title', $config['fetching_error_message_title']); | 29 | $container->setParameter('wallabag_core.fetching_error_message_title', $config['fetching_error_message_title']); |
30 | $container->setParameter('wallabag_core.api_limit_mass_actions', $config['api_limit_mass_actions']); | 30 | $container->setParameter('wallabag_core.api_limit_mass_actions', $config['api_limit_mass_actions']); |
31 | $container->setParameter('wallabag_core.default_internal_settings', $config['default_internal_settings']); | 31 | $container->setParameter('wallabag_core.default_internal_settings', $config['default_internal_settings']); |
32 | $container->setParameter('wallabag_core.domain_name', $config['domain_name']); | ||
32 | 33 | ||
33 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); | 34 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
34 | $loader->load('services.yml'); | 35 | $loader->load('services.yml'); |