|
1 | 1 | imports: |
2 | 2 | - { resource: parameters.yml } |
3 | | - - { resource: security.yml } |
4 | 3 |
|
5 | | -# Put parameters here that don't need to change on each machine where the app is deployed |
6 | | -# http://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration |
7 | 4 | parameters: |
8 | 5 | locale: en |
9 | 6 |
|
10 | 7 | framework: |
11 | | - #esi: ~ |
12 | | - #translator: { fallbacks: ["%locale%"] } |
13 | | - secret: "%secret%" |
| 8 | + secret: "%secret%" |
14 | 9 | router: |
15 | 10 | resource: "%kernel.root_dir%/config/routing.yml" |
16 | 11 | strict_requirements: ~ |
17 | | - form: ~ |
| 12 | + form: ~ |
18 | 13 | csrf_protection: ~ |
19 | | - validation: { enable_annotations: true } |
20 | | - #serializer: { enable_annotations: true } |
| 14 | + validation: { enable_annotations: true } |
21 | 15 | templating: |
22 | 16 | engines: ['twig'] |
23 | 17 | default_locale: "%locale%" |
24 | | - trusted_hosts: ~ |
| 18 | + trusted_hosts: ~ |
25 | 19 | trusted_proxies: ~ |
26 | 20 | session: |
27 | | - # http://symfony.com/doc/current/reference/configuration/framework.html#handler-id |
28 | 21 | handler_id: session.handler.native_file |
29 | | - save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%" |
30 | | - fragments: ~ |
| 22 | + save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%" |
| 23 | + fragments: ~ |
31 | 24 | http_method_override: true |
32 | 25 | assets: ~ |
33 | | - |
34 | | -# Twig Configuration |
35 | | -twig: |
36 | | - debug: "%kernel.debug%" |
37 | | - strict_variables: "%kernel.debug%" |
38 | | - |
39 | | -# Doctrine Configuration |
40 | | -doctrine: |
41 | | - dbal: |
42 | | - driver: pdo_mysql |
43 | | - host: "%database_host%" |
44 | | - port: "%database_port%" |
45 | | - dbname: "%database_name%" |
46 | | - user: "%database_user%" |
47 | | - password: "%database_password%" |
48 | | - charset: UTF8 |
49 | | - # if using pdo_sqlite as your database driver: |
50 | | - # 1. add the path in parameters.yml |
51 | | - # e.g. database_path: "%kernel.root_dir%/data/data.db3" |
52 | | - # 2. Uncomment database_path in parameters.yml.dist |
53 | | - # 3. Uncomment next line: |
54 | | - # path: "%database_path%" |
55 | | - |
56 | | - orm: |
57 | | - auto_generate_proxy_classes: "%kernel.debug%" |
58 | | - naming_strategy: doctrine.orm.naming_strategy.underscore |
59 | | - auto_mapping: true |
60 | | - |
61 | | -# Swiftmailer Configuration |
62 | | -swiftmailer: |
63 | | - transport: "%mailer_transport%" |
64 | | - host: "%mailer_host%" |
65 | | - username: "%mailer_user%" |
66 | | - password: "%mailer_password%" |
67 | | - spool: { type: memory } |
0 commit comments