X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fconfig%2Fservices.yml;h=90a2419eab70534ab93cba6417a6c3f55bede724;hb=64d080586d6817dbb22ed844908f58987c1a60e3;hp=5a727ec530c57c8dcb3f6ddbae3e9c461006d830;hpb=db5541e7a1e7131d62b4df23fa6eadd0c542b256;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml index 5a727ec5..90a2419e 100644 --- a/src/Wallabag/CoreBundle/Resources/config/services.yml +++ b/src/Wallabag/CoreBundle/Resources/config/services.yml @@ -29,7 +29,7 @@ services: arguments: - "@doctrine" - wallabag_core.table_prefix_subscriber: + wallabag_core.subscriber.table_prefix: class: Wallabag\CoreBundle\Subscriber\TablePrefixSubscriber arguments: - "%database_table_prefix%" @@ -40,7 +40,7 @@ services: class: Graby\Graby arguments: - - error_message: "wallabag can't retrieve contents for this article. Please report this issue to us." + error_message: '%wallabag_core.fetching_error_message%' http_client: user_agents: 'lifehacker.com': 'PHP/5.2' @@ -55,6 +55,7 @@ services: '.fok.nl': 'Googlebot/2.1' 'getpocket.com': 'PHP/5.2' 'iansommerville.com': 'PHP/5.2' + '.slashdot.org': 'PHP/5.2' calls: - [ setLogger, [ "@logger" ] ] tags: @@ -91,7 +92,7 @@ services: wallabag_core.helper.entries_export: class: Wallabag\CoreBundle\Helper\EntriesExport arguments: - - "@craue_config" + - '@=service(''craue_config'').get(''wallabag_url'')' - src/Wallabag/CoreBundle/Resources/public/themes/_global/img/appicon/apple-touch-icon-152.png wallabag.operator.array.matches: @@ -119,6 +120,13 @@ services: class: Predis\Client arguments: - + scheme: '%redis_scheme%' host: '%redis_host%' port: '%redis_port%' - schema: tcp + path: '%redis_path%' + + wallabag_core.exception_controller: + class: Wallabag\CoreBundle\Controller\ExceptionController + arguments: + - '@twig' + - '%kernel.debug%'