diff options
Diffstat (limited to 'src/Wallabag/CoreBundle')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/ConfigController.php | 2 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/config/services.yml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/ConfigController.php b/src/Wallabag/CoreBundle/Controller/ConfigController.php index 0e61c642..89d27425 100644 --- a/src/Wallabag/CoreBundle/Controller/ConfigController.php +++ b/src/Wallabag/CoreBundle/Controller/ConfigController.php | |||
@@ -151,7 +151,7 @@ class ConfigController extends Controller | |||
151 | 'token' => $config->getRssToken(), | 151 | 'token' => $config->getRssToken(), |
152 | ], | 152 | ], |
153 | 'twofactor_auth' => $this->getParameter('twofactor_auth'), | 153 | 'twofactor_auth' => $this->getParameter('twofactor_auth'), |
154 | 'wallabag_url' => $this->get('craue_config')->get('wallabag_url'), | 154 | 'wallabag_url' => $this->getParameter('domain_name'), |
155 | 'enabled_users' => $this->getDoctrine() | 155 | 'enabled_users' => $this->getDoctrine() |
156 | ->getRepository('WallabagUserBundle:User') | 156 | ->getRepository('WallabagUserBundle:User') |
157 | ->getSumEnabledUsers(), | 157 | ->getSumEnabledUsers(), |
diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml index 2ae5d27f..4be79547 100644 --- a/src/Wallabag/CoreBundle/Resources/config/services.yml +++ b/src/Wallabag/CoreBundle/Resources/config/services.yml | |||
@@ -123,7 +123,7 @@ services: | |||
123 | wallabag_core.helper.entries_export: | 123 | wallabag_core.helper.entries_export: |
124 | class: Wallabag\CoreBundle\Helper\EntriesExport | 124 | class: Wallabag\CoreBundle\Helper\EntriesExport |
125 | arguments: | 125 | arguments: |
126 | - '@=service(''craue_config'').get(''wallabag_url'')' | 126 | - '%domain_name%' |
127 | - src/Wallabag/CoreBundle/Resources/public/themes/_global/img/appicon/apple-touch-icon-152.png | 127 | - src/Wallabag/CoreBundle/Resources/public/themes/_global/img/appicon/apple-touch-icon-152.png |
128 | 128 | ||
129 | wallabag.operator.array.matches: | 129 | wallabag.operator.array.matches: |
@@ -196,7 +196,7 @@ services: | |||
196 | arguments: | 196 | arguments: |
197 | - "@wallabag_core.entry.download_images.client" | 197 | - "@wallabag_core.entry.download_images.client" |
198 | - "%kernel.root_dir%/../web/assets/images" | 198 | - "%kernel.root_dir%/../web/assets/images" |
199 | - '@=service(''craue_config'').get(''wallabag_url'')' | 199 | - '%domain_name%' |
200 | - "@logger" | 200 | - "@logger" |
201 | 201 | ||
202 | wallabag_core.entry.download_images.client: | 202 | wallabag_core.entry.download_images.client: |