This repository has been archived by the owner on Sep 23, 2022. It is now read-only.
/
config.yml
121 lines (105 loc) · 3.3 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
imports:
- { resource: parameters.yml }
- { resource: @KnpBundlesBundle/Resources/config/security.yml }
framework:
charset: UTF-8
csrf_protection: true
secret: %secret%
router: { resource: "%kernel.root_dir%/config/routing.yml" }
validation: { enabled: true, enable_annotations: true }
templating: { engines: ['twig'] }
default_locale: en
esi: { enabled: true }
session:
lifetime: 3600
auto_start: true
translator: { fallback: en }
# Twig Configuration
twig:
debug: %kernel.debug%
strict_variables: %kernel.debug%
# Markdown Configuration
knp_markdown:
parser: ~ # Enable the parser service
# Time Configuration
knp_time: ~ # Enable the time helper
# Menu Configuration
knp_menu:
twig: true
# Paginator Configuration
knp_paginator: ~
# KnpBundles Configuration
knp_bundles: ~
# Gravatar Configuration
ornicar_gravatar: ~
# Doctrine Configuration
doctrine:
dbal:
driver: %database_driver%
host: %database_host%
path: %database_path%
port: %database_port%
dbname: %database_name%
user: %database_user%
password: %database_password%
charset: UTF8
orm:
default_entity_manager: default
auto_generate_proxy_classes: %kernel.debug%
entity_managers:
default:
mappings:
KnpBundlesBundle: ~
jms_i18n_routing:
default_locale: en
locales: [fr, pl, en]
strategy: prefix_except_default
inori_twitter_app:
file: %kernel.root_dir%/../vendor/twitteroauth/twitteroauth/twitteroauth.php
consumer_key: %knp_bundles.twitter.consumer_key%
consumer_secret: %knp_bundles.twitter.consumer_secret%
oauth_token: %knp_bundles.twitter.oauth_token%
oauth_token_secret: %knp_bundles.twitter.oauth_token_secret%
knp_zend_cache:
templates:
s2b_disqus:
frontend:
name: Core
options:
lifetime: 600
automatic_serialization: true
backend:
name: File
options:
cache_dir: %kernel.root_dir%/cache/%kernel.environment%
knp_disqus:
api_key: %knp_bundles.disqus_key%
forums:
s2b:
shortname: s2b
cache: s2b_disqus
old_sound_rabbit_mq:
debug: %old_sound_rabbit_mq.debug%
connections:
default:
host: %old_sound_rabbit_mq.host%
port: %old_sound_rabbit_mq.port%
user: %old_sound_rabbit_mq.user%
password: %old_sound_rabbit_mq.password%
vhost: %old_sound_rabbit_mq.vhost%
producers:
update_bundle:
connection: default
exchange_options: {name: 'upload-bundle', type: direct, durable: true }
consumers:
update_bundle:
connection: default
exchange_options: {name: 'upload-bundle', type: direct, durable: true }
queue_options: {name: 'upload-bundle'}
callback: knp_bundles.consumer.update_bundle
nelmio_solarium:
adapter:
class: Solarium_Client_Adapter_Http
host: %solarium.host%
port: %solarium.port%
path: %solarium.path%