X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fconfig%2Fservices.yml;h=ed66d2bee1551a683d4565ca5a4c38716c0b5190;hb=66fe2a3dc4705f1bc70d1302d551311a7d3f70ba;hp=fb97454e7dbc2ccdc3be133a509038bf82d9f8ae;hpb=3049afe190d125e4861059b6bbad7c6fbea6f1bb;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml index fb97454e..ed66d2be 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,21 +40,7 @@ services: class: Graby\Graby arguments: - - error_message: "wallabag can't retrieve contents for this article. Please report this issue to us." - http_client: - user_agents: - 'lifehacker.com': 'PHP/5.2' - 'gawker.com': 'PHP/5.2' - 'deadspin.com': 'PHP/5.2' - 'kotaku.com': 'PHP/5.2' - 'jezebel.com': 'PHP/5.2' - 'io9.com': 'PHP/5.2' - 'jalopnik.com': 'PHP/5.2' - 'gizmodo.com': 'PHP/5.2' - '.wikipedia.org': 'Mozilla/5.2' - '.fok.nl': 'Googlebot/2.1' - 'getpocket.com': 'PHP/5.2' - 'iansommerville.com': 'PHP/5.2' + error_message: '%wallabag_core.fetching_error_message%' calls: - [ setLogger, [ "@logger" ] ] tags: @@ -91,7 +77,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: