diff options
Diffstat (limited to 'app/config/config.yml')
-rw-r--r-- | app/config/config.yml | 55 |
1 files changed, 17 insertions, 38 deletions
diff --git a/app/config/config.yml b/app/config/config.yml index 77cda052..08da4f8f 100644 --- a/app/config/config.yml +++ b/app/config/config.yml | |||
@@ -2,6 +2,12 @@ imports: | |||
2 | - { resource: parameters.yml } | 2 | - { resource: parameters.yml } |
3 | - { resource: security.yml } | 3 | - { resource: security.yml } |
4 | - { resource: services.yml } | 4 | - { resource: services.yml } |
5 | - { resource: wallabag.yml } | ||
6 | |||
7 | parameters: | ||
8 | # Allows to use the live reload feature for changes in assets | ||
9 | use_webpack_dev_server: false | ||
10 | craue_config.cache_adapter.class: Craue\ConfigBundle\CacheAdapter\SymfonyCacheComponentAdapter | ||
5 | 11 | ||
6 | framework: | 12 | framework: |
7 | #esi: ~ | 13 | #esi: ~ |
@@ -10,7 +16,7 @@ framework: | |||
10 | fallback: "%locale%" | 16 | fallback: "%locale%" |
11 | secret: "%secret%" | 17 | secret: "%secret%" |
12 | router: | 18 | router: |
13 | resource: "%kernel.root_dir%/config/routing.yml" | 19 | resource: "%kernel.project_dir%/app/config/routing.yml" |
14 | strict_requirements: ~ | 20 | strict_requirements: ~ |
15 | form: ~ | 21 | form: ~ |
16 | csrf_protection: ~ | 22 | csrf_protection: ~ |
@@ -24,45 +30,11 @@ framework: | |||
24 | session: | 30 | session: |
25 | # handler_id set to null will use default session handler from php.ini | 31 | # handler_id set to null will use default session handler from php.ini |
26 | handler_id: session.handler.native_file | 32 | handler_id: session.handler.native_file |
27 | save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%" | 33 | save_path: "%kernel.project_dir%/var/sessions/%kernel.environment%" |
28 | fragments: ~ | 34 | fragments: ~ |
29 | http_method_override: true | 35 | http_method_override: true |
30 | assets: ~ | 36 | assets: ~ |
31 | 37 | ||
32 | wallabag_core: | ||
33 | version: 2.2.3 | ||
34 | paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb" | ||
35 | languages: | ||
36 | en: 'English' | ||
37 | fr: 'Français' | ||
38 | de: 'Deutsch' | ||
39 | tr: 'Türkçe' | ||
40 | fa: 'فارسی' | ||
41 | ro: 'Română' | ||
42 | pl: 'Polish' | ||
43 | da: 'Dansk' | ||
44 | es: 'Español' | ||
45 | oc: 'Occitan' | ||
46 | it: 'Italiano' | ||
47 | pt: 'Português' | ||
48 | items_on_page: 12 | ||
49 | theme: material | ||
50 | language: '%locale%' | ||
51 | rss_limit: 50 | ||
52 | reading_speed: 1 | ||
53 | cache_lifetime: 10 | ||
54 | action_mark_as_read: 1 | ||
55 | list_mode: 1 | ||
56 | fetching_error_message: | | ||
57 | wallabag can't retrieve contents for this article. Please <a href="http://doc.wallabag.org/en/user/errors_during_fetching.html#how-can-i-help-to-fix-that">troubleshoot this issue</a>. | ||
58 | |||
59 | wallabag_user: | ||
60 | registration_enabled: "%fosuser_registration%" | ||
61 | |||
62 | wallabag_import: | ||
63 | allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain', 'text/csv'] | ||
64 | resource_dir: "%kernel.root_dir%/../web/uploads/import" | ||
65 | |||
66 | # Twig Configuration | 38 | # Twig Configuration |
67 | twig: | 39 | twig: |
68 | debug: "%kernel.debug%" | 40 | debug: "%kernel.debug%" |
@@ -100,7 +72,7 @@ stof_doctrine_extensions: | |||
100 | sluggable: true | 72 | sluggable: true |
101 | 73 | ||
102 | doctrine_migrations: | 74 | doctrine_migrations: |
103 | dir_name: "%kernel.root_dir%/DoctrineMigrations" | 75 | dir_name: "%kernel.project_dir%/app/DoctrineMigrations" |
104 | namespace: Application\Migrations | 76 | namespace: Application\Migrations |
105 | table_name: migration_versions | 77 | table_name: migration_versions |
106 | name: Application Migrations | 78 | name: Application Migrations |
@@ -138,7 +110,7 @@ fos_rest: | |||
138 | epub: true | 110 | epub: true |
139 | mobi: true | 111 | mobi: true |
140 | templating_formats: | 112 | templating_formats: |
141 | html: true | 113 | html: false |
142 | force_redirects: | 114 | force_redirects: |
143 | html: true | 115 | html: true |
144 | failed_validation: HTTP_BAD_REQUEST | 116 | failed_validation: HTTP_BAD_REQUEST |
@@ -378,3 +350,10 @@ fos_js_routing: | |||
378 | - howto | 350 | - howto |
379 | - fos_user_security_logout | 351 | - fos_user_security_logout |
380 | - new | 352 | - new |
353 | |||
354 | jms_serializer: | ||
355 | handlers: | ||
356 | # to be removed if we switch to (default) ISO8601 datetime instead of ATOM | ||
357 | # see: https://github.com/schmittjoh/JMSSerializerBundle/pull/494 | ||
358 | datetime: | ||
359 | default_format: "Y-m-d\\TH:i:sO" # ATOM | ||