first commit after reset
[mixstore.git] / app / config / config.yml
... / ...
CommitLineData
1imports:
2 - { resource: parameters.yml }
3 - { resource: security.yml }
4
5framework:
6 #esi: ~
7 translator: { fallback: "%locale%" }
8 secret: "%secret%"
9 router:
10 resource: "%kernel.root_dir%/config/routing.yml"
11 strict_requirements: ~
12 form: ~
13 csrf_protection: ~
14 validation: { enable_annotations: true }
15 templating:
16 engines: ['twig']
17 #assets_base_url: './'
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%"
32
33# Assetic Configuration
34assetic:
35 debug: "%kernel.debug%"
36 use_controller: false
37 bundles: [ ]
38 #java: /usr/bin/java
39 filters:
40 cssrewrite: ~
41 #closure:
42 # jar: "%kernel.root_dir%/Resources/java/compiler.jar"
43 #yui_css:
44 # jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"
45
46# Doctrine Configuration
47doctrine:
48 dbal:
49 driver: "%database_driver%"
50 host: "%database_host%"
51 port: "%database_port%"
52 dbname: "%database_name%"
53 user: "%database_user%"
54 password: "%database_password%"
55 charset: UTF8
56 # if using pdo_sqlite as your database driver, add the path in parameters.yml
57 # e.g. database_path: "%kernel.root_dir%/data/data.db3"
58 # path: "%database_path%"
59
60 orm:
61 auto_generate_proxy_classes: "%kernel.debug%"
62 auto_mapping: true
63
64# Swiftmailer Configuration
65swiftmailer:
66 transport: "%mailer_transport%"
67 host: "%mailer_host%"
68 username: "%mailer_user%"
69 password: "%mailer_password%"
70 spool: { type: memory }
71
72fos_user:
73 db_driver: orm
74 firewall_name: main
75 user_class: Mixstore\UserBundle\Entity\User
76 registration:
77 form:
78 type: mixstore_user_registration
79 validation_groups: [MixstoreRegistration]
80 profile:
81 form:
82 type: mixstore_user_profile
83 validation_groups: [MixstoreProfile]