]>
Commit | Line | Data |
---|---|---|
1 | imports: | |
2 | - { resource: parameters.yml } | |
3 | - { resource: security.yml } | |
4 | - { resource: services.yml } | |
5 | ||
6 | framework: | |
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 | |
29 | twig: | |
30 | debug: "%kernel.debug%" | |
31 | strict_variables: "%kernel.debug%" | |
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% | |
47 | ||
48 | # Assetic Configuration | |
49 | assetic: | |
50 | debug: "%kernel.debug%" | |
51 | use_controller: false | |
52 | bundles: [ ] | |
53 | #java: /usr/bin/java | |
54 | filters: | |
55 | cssrewrite: ~ | |
56 | #closure: | |
57 | # jar: "%kernel.root_dir%/Resources/java/compiler.jar" | |
58 | #yui_css: | |
59 | # jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar" | |
60 | ||
61 | # Doctrine Configuration | |
62 | doctrine: | |
63 | dbal: | |
64 | driver: "%database_driver%" | |
65 | host: "%database_host%" | |
66 | port: "%database_port%" | |
67 | dbname: "%database_name%" | |
68 | user: "%database_user%" | |
69 | password: "%database_password%" | |
70 | charset: UTF8 | |
71 | # if using pdo_sqlite as your database driver: | |
72 | # 1. add the path in parameters.yml | |
73 | # e.g. database_path: "%kernel.root_dir%/data/data.db3" | |
74 | # 2. Uncomment database_path in parameters.yml.dist | |
75 | # 3. Uncomment next line: | |
76 | path: "%database_path%" | |
77 | ||
78 | orm: | |
79 | auto_generate_proxy_classes: "%kernel.debug%" | |
80 | auto_mapping: true | |
81 | ||
82 | # Swiftmailer Configuration | |
83 | swiftmailer: | |
84 | transport: "%mailer_transport%" | |
85 | host: "%mailer_host%" | |
86 | username: "%mailer_user%" | |
87 | password: "%mailer_password%" | |
88 | spool: { type: memory } |