]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/config/config.yml
1st implementation of wallabag api, yeah
[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: ~
8 #translator: { fallback: "%locale%" }
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%"
93fd4692
NL
68 charset: UTF8
69 # if using pdo_sqlite as your database driver:
70 # 1. add the path in parameters.yml
71 # e.g. database_path: "%kernel.root_dir%/data/data.db3"
72 # 2. Uncomment database_path in parameters.yml.dist
73 # 3. Uncomment next line:
9d50517c 74 path: "%database_path%"
93fd4692
NL
75
76 orm:
77 auto_generate_proxy_classes: "%kernel.debug%"
78 auto_mapping: true
79
80# Swiftmailer Configuration
81swiftmailer:
82 transport: "%mailer_transport%"
83 host: "%mailer_host%"
84 username: "%mailer_user%"
85 password: "%mailer_password%"
86 spool: { type: memory }
e4788de5
NL
87
88fos_rest:
89 param_fetcher_listener: true
90 body_listener: true
91 format_listener: true
92 view:
93 view_response_listener: 'force'
94 formats:
95 xml: true
96 json : true
97 templating_formats:
98 html: true
99 force_redirects:
100 html: true
101 failed_validation: HTTP_BAD_REQUEST
102 default_engine: twig
103 routing_loader:
104 default_format: json
105
106nelmio_api_doc: ~