]> Raphaël G. Git Repositories - blogbundle/blob - Resources/config/parameters.yml.dist
Add parameters template
[blogbundle] / Resources / config / parameters.yml.dist
1 # This file is a "template" of what your parameters.yml file should look like
2 # Set parameters here that may be different on each deployment target of the app, e.g. development, staging, production.
3 # https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
4 parameters:
5 database_host: localhost
6 database_port: null
7 database_name: blog
8 database_user: blog
9 database_password: ~
10
11 mailer_transport: smtp
12 mailer_host: 127.0.0.1
13 mailer_user: ~
14 mailer_password: ~
15
16 # A secret key that's used to generate certain security-related tokens
17 secret: ThisTokenIsNotSoSecretChangeIt
18
19 # Blog config
20 blog.locales: [ en, fr ]
21 blog.logo: 'bundles/rapsysblog/png/favicon.png'
22 blog.title: 'Dev log'
23 blog.welcome: 'Welcome to %blog.title%'
24 blog.contact_mail: 'blog@rapsys.eu'
25 blog.contact_name: 'Raphaël Gertz'
26
27 # Add json dql function
28 doctrine:
29 orm:
30 dql:
31 string_functions:
32 Json:
33 Rapsys\BlogBundle\DQL\JsonFunction
34
35 # Sension config
36 sensio_framework_extra:
37 router:
38 annotations: false
39 request:
40 converters: false
41 auto_convert: false
42 view:
43 annotations: false
44 cache:
45 annotations: false
46 security:
47 annotations: false
48 psr_message:
49 enabled: false
50
51 # Set fallback locale
52 framework:
53 translator:
54 fallbacks:
55 - '%locale%'
56
57 # Set twig global
58 twig:
59 globals:
60 blog_locales: '%blog.locales%'