108 lines
3.2 KiB
YAML
108 lines
3.2 KiB
YAML
imports:
|
|
- { resource: parameters.yml }
|
|
- { resource: security.yml }
|
|
- { resource: deploy.yml }
|
|
- { resource: elastic.yml }
|
|
- { resource: trinity_admin_menu.yml }
|
|
- { resource: trinity_content_manager.yml }
|
|
- { resource: trinity_dash_board.yml }
|
|
- { resource: trinity_vars_editor.yml }
|
|
- { resource: trinity_editorial_block.yml }
|
|
- { resource: stfalcon_tinymce.yml }
|
|
|
|
framework:
|
|
#esi: ~
|
|
translator: { fallback: %locale% }
|
|
|
|
secret: %secret%
|
|
router:
|
|
resource: "%kernel.root_dir%/config/routing.yml"
|
|
strict_requirements: %kernel.debug%
|
|
form: true
|
|
csrf_protection: true
|
|
esi: { enabled: true }
|
|
validation: { enable_annotations: true, enabled: true }
|
|
templating: { engines: ['twig'] } #assets_version: SomeVersionScheme
|
|
default_locale: %locale%
|
|
#trust_proxy_headers: false # Whether or not the Request object should trust proxy headers (X_FORWARDED_FOR/HTTP_CLIENT_IP)
|
|
session:
|
|
gc_maxlifetime: 604800 # 7 days ~
|
|
|
|
# Twig Configuration
|
|
twig:
|
|
debug: %kernel.debug%
|
|
strict_variables: %kernel.debug%
|
|
cache: false
|
|
form:
|
|
resources:
|
|
- 'TrinityWidgetBundle:Form:fields.html.twig'
|
|
- 'TrinityWidgetBundle:Form:field_type_help.html.twig'
|
|
|
|
parameters:
|
|
# propel.configuration.class: WD\Bundle\PropelExtensionBundle\Configuration\PropelConfiguration
|
|
|
|
# Assetic Configuration
|
|
assetic:
|
|
debug: %kernel.debug%
|
|
use_controller: false
|
|
bundles: [ ]
|
|
|
|
propel:
|
|
dbal:
|
|
default_connection: blog
|
|
connections:
|
|
blog:
|
|
driver: %database_driver%
|
|
user: %database_user%
|
|
password: %database_password%
|
|
dsn: %database_driver%:host=%database_host%;dbname=%database_name%;charset=%database_charset%
|
|
tiny:
|
|
driver: %tiny_database_driver%
|
|
user: %tiny_database_user%
|
|
password: %tiny_database_password%
|
|
dsn: %tiny_database_driver%:host=%tiny_database_host%;dbname=%tiny_database_name%;charset=%tiny_database_charset%
|
|
|
|
# Swiftmailer Configuration
|
|
swiftmailer:
|
|
transport: %mailer_transport%
|
|
host: %mailer_host%
|
|
username: %mailer_user%
|
|
password: %mailer_password%
|
|
spool: { type: memory }
|
|
|
|
fos_user:
|
|
db_driver: propel
|
|
firewall_name: admin
|
|
user_class: FOS\UserBundle\Propel\User
|
|
group:
|
|
group_class: FOS\UserBundle\Propel\Group
|
|
profile:
|
|
form:
|
|
type: trinity_user_profile
|
|
|
|
ivory_lucene_search:
|
|
main:
|
|
path: "%kernel.root_dir%/lucene/index1"
|
|
analyzer: Zend\Search\Lucene\Analysis\Analyzer\Common\Text\CaseInsensitive
|
|
permissions: 0700
|
|
auto_optimized: false
|
|
|
|
simple_things_form_extra:
|
|
help_extension: true
|
|
|
|
services:
|
|
twig.extension.text:
|
|
class: Twig_Extensions_Extension_Text
|
|
tags:
|
|
- { name: twig.extension }
|
|
twig.extension.intl:
|
|
class: Twig_Extensions_Extension_Intl
|
|
tags:
|
|
- { name: twig.extension }
|
|
|
|
mobile_detect:
|
|
redirect:
|
|
mobile: ~
|
|
tablet: ~
|
|
switch_device_view: ~
|