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