2 - { resource: parameters.yml }
3 - { resource: security.yml }
4 - { resource: services.yml }
8 translator: { fallback: "%locale%" }
11 resource: "%kernel.root_dir%/config/routing.yml"
12 strict_requirements: ~
15 validation: { enable_annotations: true }
18 #assets_version: SomeVersionScheme
19 default_locale: "%locale%"
23 # handler_id set to null will use default session handler from php.ini
26 http_method_override: true
36 debug: "%kernel.debug%"
37 strict_variables: "%kernel.debug%"
39 share_twitter: %share_twitter%
40 share_mail: %share_mail%
41 share_shaarli: %share_shaarli%
42 shaarli_url: %shaarli_url%
43 share_diaspora: %share_diaspora%
44 diaspora_url: %diaspora_url%
49 show_printlink: %show_printlink%
50 export_epub: %export_epub%
51 export_mobi: %export_mobi%
52 export_pdf: %export_pdf%
53 version: %app.version%
54 twofactor_auth: %twofactor_auth%
55 warning_message: %warning_message%
56 paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb"
57 flattr_url: "https://flattr.com/thing/1265480"
60 - LexikFormFilterBundle:Form:form_div_layout.html.twig
62 # Assetic Configuration
64 debug: "%kernel.debug%"
71 # jar: "%kernel.root_dir%/Resources/java/compiler.jar"
73 # jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"
75 # Doctrine Configuration
78 driver: "%database_driver%"
79 host: "%database_host%"
80 port: "%database_port%"
81 dbname: "%database_name%"
82 user: "%database_user%"
83 password: "%database_password%"
85 path: "%database_path%"
88 auto_generate_proxy_classes: "%kernel.debug%"
93 stof_doctrine_extensions:
94 default_locale: "%locale%"
95 translation_fallback: true
101 # Swiftmailer Configuration
103 transport: "%mailer_transport%"
104 host: "%mailer_host%"
105 username: "%mailer_user%"
106 password: "%mailer_password%"
107 spool: { type: memory }
110 param_fetcher_listener: true
112 format_listener: true
114 view_response_listener: 'force'
122 failed_validation: HTTP_BAD_REQUEST
130 name: wallabag API documentation
134 allow_credentials: false
145 allow_headers: ['X-Custom-Auth']
146 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
150 allow_origin: ['^http://localhost:[0-9]+']
151 allow_headers: ['X-Custom-Auth']
152 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
157 load_controllers: false
161 autodetect_theme: wallabag_core.helper.detect_active_theme
165 # - %%app_path%%/views/themes/%%current_theme%%/%%template%%
166 # - %%app_path%%/views/%%template%%
168 - %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%
169 # bundle_resource_dir:
170 # - %%dir%%/views/themes/%%current_theme%%/%%bundle_name%%/%%template%%
171 # - %%dir%%/views/%%bundle_name%%/%%override_path%%
176 user_class: Wallabag\UserBundle\Entity\User
183 client_class: Wallabag\ApiBundle\Entity\Client
184 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
185 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
186 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
188 user_provider: fos_user.user_manager
193 cookie_name: wllbg_trusted_computer
194 cookie_lifetime: 2592000
197 enabled: %twofactor_auth%
198 sender_email: %twofactor_sender%
200 template: WallabagUserBundle:Authentication:form.html.twig
201 mailer: wallabag_user.auth_code_mailer