]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/config/config.yml
bottom bar to display message
[github/wallabag/wallabag.git] / app / config / config.yml
CommitLineData
93fd4692
NL
1imports:
2 - { resource: parameters.yml }
3 - { resource: security.yml }
4 - { resource: services.yml }
5
6framework:
7 #esi: ~
78cedc22 8 translator: { fallback: "%locale%" }
93fd4692
NL
9 secret: "%secret%"
10 router:
11 resource: "%kernel.root_dir%/config/routing.yml"
12 strict_requirements: ~
13 form: ~
14 csrf_protection: ~
15 validation: { enable_annotations: true }
16 templating:
17 engines: ['twig']
18 #assets_version: SomeVersionScheme
19 default_locale: "%locale%"
20 trusted_hosts: ~
21 trusted_proxies: ~
22 session:
23 # handler_id set to null will use default session handler from php.ini
24 handler_id: ~
25 fragments: ~
26 http_method_override: true
27
28# Twig Configuration
29twig:
30 debug: "%kernel.debug%"
31 strict_variables: "%kernel.debug%"
bd9f0815
NL
32 globals:
33 share_twitter: %share_twitter%
34 share_mail: %share_mail%
35 share_shaarli: %share_shaarli%
36 shaarli_url: %shaarli_url%
37 share_diaspora: %share_diaspora%
38 diaspora_url: %diaspora_url%
39 flattr: %flattr%
40 flattrable: 1
41 flattred: 2
42 carrot: %carrot%
43 show_printlink: %show_printlink%
44 export_epub: %export_epub%
45 export_mobi: %export_mobi%
46 export_pdf: %export_pdf%
b84a8055
NL
47 version: %app.version%
48 paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb"
49 flattr_url: "https://flattr.com/thing/1265480"
26864574
NL
50 form:
51 resources:
52 - LexikFormFilterBundle:Form:form_div_layout.html.twig
93fd4692
NL
53# Assetic Configuration
54assetic:
55 debug: "%kernel.debug%"
56 use_controller: false
57 bundles: [ ]
58 #java: /usr/bin/java
59 filters:
60 cssrewrite: ~
61 #closure:
62 # jar: "%kernel.root_dir%/Resources/java/compiler.jar"
63 #yui_css:
64 # jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"
65
66# Doctrine Configuration
67doctrine:
68 dbal:
69 driver: "%database_driver%"
61b9fdd5
NL
70 host: "%database_host%"
71 port: "%database_port%"
72 dbname: "%database_name%"
73 user: "%database_user%"
74 password: "%database_password%"
93fd4692 75 charset: UTF8
9d50517c 76 path: "%database_path%"
93fd4692
NL
77
78 orm:
79 auto_generate_proxy_classes: "%kernel.debug%"
164bd801
J
80 entity_managers:
81 default:
82 naming_strategy: wallabag_core.doctrine.prefixed_naming_strategy
83 auto_mapping: true
93fd4692
NL
84
85# Swiftmailer Configuration
86swiftmailer:
87 transport: "%mailer_transport%"
88 host: "%mailer_host%"
89 username: "%mailer_user%"
90 password: "%mailer_password%"
91 spool: { type: memory }
e4788de5
NL
92
93fos_rest:
94 param_fetcher_listener: true
95 body_listener: true
96 format_listener: true
97 view:
98 view_response_listener: 'force'
99 formats:
100 xml: true
101 json : true
102 templating_formats:
103 html: true
104 force_redirects:
105 html: true
106 failed_validation: HTTP_BAD_REQUEST
107 default_engine: twig
108 routing_loader:
a65f5d55 109 default_format: json
e4788de5 110
78cedc22 111nelmio_api_doc: ~
fca3c757
NL
112
113nelmio_cors:
114 defaults:
115 allow_credentials: false
116 allow_origin: []
117 allow_headers: []
118 allow_methods: []
119 expose_headers: []
120 max_age: 0
121 hosts: []
122 #origin_regex: false
123 paths:
124 '^/api/':
125 allow_origin: ['*']
126 allow_headers: ['X-Custom-Auth']
127 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
128 max_age: 3600
129 '^/':
130 #origin_regex: true
131 allow_origin: ['^http://localhost:[0-9]+']
132 allow_headers: ['X-Custom-Auth']
133 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
134 max_age: 3600
135 hosts: ['^api\.']
32da2a70
J
136
137liip_theme:
138 load_controllers: false
139 themes:
140 - baggy
9948d899 141 - material
32da2a70
J
142 autodetect_theme: wallabag_core.helper.detect_active_theme
143
144 path_patterns:
3e30422c
J
145 # app_resource:
146 # - %%app_path%%/views/themes/%%current_theme%%/%%template%%
147 # - %%app_path%%/views/%%template%%
32da2a70
J
148 bundle_resource:
149 - %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%
3e30422c
J
150 # bundle_resource_dir:
151 # - %%dir%%/views/themes/%%current_theme%%/%%bundle_name%%/%%template%%
152 # - %%dir%%/views/%%bundle_name%%/%%override_path%%