diff options
Diffstat (limited to 'app/config')
-rw-r--r-- | app/config/config.yml | 1 | ||||
-rw-r--r-- | app/config/config_dev.yml | 8 | ||||
-rw-r--r-- | app/config/services.yml | 3 |
3 files changed, 12 insertions, 0 deletions
diff --git a/app/config/config.yml b/app/config/config.yml index 30fd6063..31bd8a8c 100644 --- a/app/config/config.yml +++ b/app/config/config.yml | |||
@@ -49,6 +49,7 @@ wallabag_core: | |||
49 | language: en | 49 | language: en |
50 | rss_limit: 50 | 50 | rss_limit: 50 |
51 | reading_speed: 1 | 51 | reading_speed: 1 |
52 | cache_lifetime: 10 | ||
52 | 53 | ||
53 | wallabag_user: | 54 | wallabag_user: |
54 | registration_enabled: "%fosuser_registration%" | 55 | registration_enabled: "%fosuser_registration%" |
diff --git a/app/config/config_dev.yml b/app/config/config_dev.yml index 77840682..3b67d8f6 100644 --- a/app/config/config_dev.yml +++ b/app/config/config_dev.yml | |||
@@ -40,3 +40,11 @@ swiftmailer: | |||
40 | transport: smtp | 40 | transport: smtp |
41 | host: 'localhost' | 41 | host: 'localhost' |
42 | port: 1025 | 42 | port: 1025 |
43 | |||
44 | # If you want to use cache for queries used in WallabagExtension | ||
45 | # Uncomment the following lines | ||
46 | #doctrine: | ||
47 | # orm: | ||
48 | # metadata_cache_driver: apcu | ||
49 | # result_cache_driver: apcu | ||
50 | # query_cache_driver: apcu | ||
diff --git a/app/config/services.yml b/app/config/services.yml index 480408d9..95b8f26f 100644 --- a/app/config/services.yml +++ b/app/config/services.yml | |||
@@ -16,6 +16,9 @@ services: | |||
16 | wallabag.twig_extension: | 16 | wallabag.twig_extension: |
17 | class: Wallabag\CoreBundle\Twig\WallabagExtension | 17 | class: Wallabag\CoreBundle\Twig\WallabagExtension |
18 | public: false | 18 | public: false |
19 | arguments: | ||
20 | - "@wallabag_core.entry_repository" | ||
21 | - "@security.token_storage" | ||
19 | tags: | 22 | tags: |
20 | - { name: twig.extension } | 23 | - { name: twig.extension } |
21 | 24 | ||