]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/config/config.yml
Fixes and improve css @media
[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"
93fd4692
NL
50
51# Assetic Configuration
52assetic:
53 debug: "%kernel.debug%"
54 use_controller: false
55 bundles: [ ]
56 #java: /usr/bin/java
57 filters:
58 cssrewrite: ~
59 #closure:
60 # jar: "%kernel.root_dir%/Resources/java/compiler.jar"
61 #yui_css:
62 # jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"
63
64# Doctrine Configuration
65doctrine:
66 dbal:
67 driver: "%database_driver%"
61b9fdd5
NL
68 host: "%database_host%"
69 port: "%database_port%"
70 dbname: "%database_name%"
71 user: "%database_user%"
72 password: "%database_password%"
93fd4692 73 charset: UTF8
9d50517c 74 path: "%database_path%"
93fd4692
NL
75
76 orm:
77 auto_generate_proxy_classes: "%kernel.debug%"
164bd801
J
78 entity_managers:
79 default:
80 naming_strategy: wallabag_core.doctrine.prefixed_naming_strategy
81 auto_mapping: true
93fd4692
NL
82
83# Swiftmailer Configuration
84swiftmailer:
85 transport: "%mailer_transport%"
86 host: "%mailer_host%"
87 username: "%mailer_user%"
88 password: "%mailer_password%"
89 spool: { type: memory }
e4788de5
NL
90
91fos_rest:
92 param_fetcher_listener: true
93 body_listener: true
94 format_listener: true
95 view:
96 view_response_listener: 'force'
97 formats:
98 xml: true
99 json : true
100 templating_formats:
101 html: true
102 force_redirects:
103 html: true
104 failed_validation: HTTP_BAD_REQUEST
105 default_engine: twig
106 routing_loader:
a65f5d55 107 default_format: json
e4788de5 108
78cedc22 109nelmio_api_doc: ~
fca3c757
NL
110
111nelmio_cors:
112 defaults:
113 allow_credentials: false
114 allow_origin: []
115 allow_headers: []
116 allow_methods: []
117 expose_headers: []
118 max_age: 0
119 hosts: []
120 #origin_regex: false
121 paths:
122 '^/api/':
123 allow_origin: ['*']
124 allow_headers: ['X-Custom-Auth']
125 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
126 max_age: 3600
127 '^/':
128 #origin_regex: true
129 allow_origin: ['^http://localhost:[0-9]+']
130 allow_headers: ['X-Custom-Auth']
131 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
132 max_age: 3600
133 hosts: ['^api\.']
32da2a70
J
134
135liip_theme:
136 load_controllers: false
137 themes:
138 - baggy
9948d899 139 - material
32da2a70
J
140 autodetect_theme: wallabag_core.helper.detect_active_theme
141
142 path_patterns:
3e30422c
J
143 # app_resource:
144 # - %%app_path%%/views/themes/%%current_theme%%/%%template%%
145 # - %%app_path%%/views/%%template%%
32da2a70
J
146 bundle_resource:
147 - %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%
3e30422c
J
148 # bundle_resource_dir:
149 # - %%dir%%/views/themes/%%current_theme%%/%%bundle_name%%/%%template%%
150 # - %%dir%%/views/%%bundle_name%%/%%override_path%%