forked from ezsystems/ezplatform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
71 lines (66 loc) · 2.41 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
imports:
- { resource: parameters.yml }
- { resource: security.yml }
doctrine:
dbal:
connections:
default:
driver: %database_driver%
host: %database_host%
port: %database_port%
user: %database_user%
password: %database_password%
dbname: %database_name%
charset: UTF8
framework:
esi: ~
translator: { fallback: "%locale_fallback%" }
secret: "%secret%"
router:
resource: "%kernel.root_dir%/config/routing.yml"
strict_requirements: ~
form: ~
csrf_protection:
enabled: true
# Note: changing this will break legacy extensions that rely on the default name to alter AJAX requests
# See https://jira.ez.no/browse/EZP-20783
field_name: ezxform_token
validation: { enable_annotations: true }
# Place "eztpl" engine first intentionnally.
# This is to avoid template name parsing with Twig engine, refusing specific characters
# which are valid with legacy tpl files.
templating: { engines: ['twig'] } #assets_version: SomeVersionScheme
default_locale: "%locale_fallback%"
trusted_hosts: ~
trusted_proxies: ~
session:
# handler_id set to null will use default session handler from php.ini
handler_id: ~
# Note: eZ Publish also allows session name and session cookie configuration to be per SiteAccess, by
# default session name will be set to "eZSESSID{siteaccess_hash}" (unique session name per siteaccess)
# Further reading: https://doc.ez.no/display/EZP/Session+configuration
fragments: ~
http_method_override: true
# Twig Configuration
twig:
debug: "%kernel.debug%"
strict_variables: "%kernel.debug%"
# Assetic Configuration
assetic:
debug: "%kernel.debug%"
use_controller: false
bundles: [ eZDemoBundle ]
#java: /usr/bin/java
filters:
cssrewrite: ~
#closure:
# jar: "%kernel.root_dir%/Resources/java/compiler.jar"
#yui_css:
# jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"
# Swiftmailer Configuration
swiftmailer:
transport: "%mailer_transport%"
host: "%mailer_host%"
username: "%mailer_user%"
password: "%mailer_password%"
spool: { type: memory }