2015-03-22 17:22:49 +00:00
|
|
|
imports:
|
|
|
|
- { resource: parameters.yml }
|
|
|
|
- { resource: security.yml }
|
|
|
|
- { resource: services.yml }
|
|
|
|
|
2017-01-08 20:56:01 +00:00
|
|
|
# Put parameters here that don't need to change on each machine where the app is deployed
|
|
|
|
# http://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
|
|
|
|
parameters:
|
|
|
|
locale: ru
|
2017-01-11 18:03:32 +00:00
|
|
|
# Defining default router parameters to be able to generate correct full URL's when not processing HTTP request
|
|
|
|
router.request_context.host: "%point_tools_domain%"
|
|
|
|
router.request_context.scheme: "%point_tools_scheme%"
|
|
|
|
router.request_context.base_url: "%point_tools_base_url%"
|
2017-01-08 20:56:01 +00:00
|
|
|
|
2015-03-22 17:22:49 +00:00
|
|
|
framework:
|
|
|
|
#esi: ~
|
2015-06-02 03:21:23 +00:00
|
|
|
translator: { fallbacks: ["%locale%"] }
|
2017-01-08 20:56:01 +00:00
|
|
|
#serializer: { enable_annotations: true }
|
2015-03-22 17:22:49 +00:00
|
|
|
secret: "%secret%"
|
|
|
|
router:
|
|
|
|
resource: "%kernel.root_dir%/config/routing.yml"
|
|
|
|
strict_requirements: ~
|
|
|
|
form: ~
|
|
|
|
csrf_protection: ~
|
|
|
|
validation: { enable_annotations: true }
|
|
|
|
templating:
|
|
|
|
engines: ['twig']
|
|
|
|
default_locale: "%locale%"
|
|
|
|
trusted_hosts: ~
|
|
|
|
trusted_proxies: ~
|
|
|
|
session:
|
|
|
|
# handler_id set to null will use default session handler from php.ini
|
|
|
|
handler_id: ~
|
|
|
|
fragments: ~
|
|
|
|
http_method_override: true
|
|
|
|
|
2015-05-31 02:48:12 +00:00
|
|
|
sensio_framework_extra:
|
|
|
|
request:
|
|
|
|
converters: true
|
|
|
|
auto_convert: false
|
|
|
|
|
2015-03-22 17:22:49 +00:00
|
|
|
# Twig Configuration
|
|
|
|
twig:
|
2017-01-09 00:33:29 +00:00
|
|
|
form_themes:
|
|
|
|
- bootstrap_3_layout.html.twig
|
2015-03-22 17:22:49 +00:00
|
|
|
debug: "%kernel.debug%"
|
|
|
|
strict_variables: "%kernel.debug%"
|
|
|
|
|
|
|
|
# Doctrine Configuration
|
|
|
|
doctrine:
|
|
|
|
dbal:
|
2016-12-16 17:59:05 +00:00
|
|
|
driver: pdo_pgsql
|
2015-03-22 17:22:49 +00:00
|
|
|
host: "%database_host%"
|
|
|
|
port: "%database_port%"
|
|
|
|
dbname: "%database_name%"
|
|
|
|
user: "%database_user%"
|
|
|
|
password: "%database_password%"
|
|
|
|
charset: UTF8
|
|
|
|
|
|
|
|
orm:
|
|
|
|
auto_generate_proxy_classes: "%kernel.debug%"
|
2017-01-08 20:56:01 +00:00
|
|
|
naming_strategy: doctrine.orm.naming_strategy.underscore
|
2015-03-22 17:22:49 +00:00
|
|
|
auto_mapping: true
|
2017-01-10 01:21:57 +00:00
|
|
|
dql:
|
|
|
|
string_functions:
|
2017-01-11 15:26:16 +00:00
|
|
|
# TODO fix to receive correct DateTime instead of string
|
2017-01-10 01:21:57 +00:00
|
|
|
DAY: Skobkin\Bundle\PointToolsBundle\DQL\Day
|
2015-03-22 17:22:49 +00:00
|
|
|
|
2015-03-29 14:14:17 +00:00
|
|
|
doctrine_migrations:
|
2017-01-09 00:33:29 +00:00
|
|
|
dir_name: "%kernel.root_dir%/DoctrineMigrations"
|
2015-03-29 14:14:17 +00:00
|
|
|
namespace: Application\Migrations
|
|
|
|
table_name: migration_versions
|
|
|
|
name: Application Migrations
|
|
|
|
|
2015-03-22 17:22:49 +00:00
|
|
|
# Swiftmailer Configuration
|
|
|
|
swiftmailer:
|
|
|
|
transport: "%mailer_transport%"
|
|
|
|
host: "%mailer_host%"
|
|
|
|
username: "%mailer_user%"
|
|
|
|
password: "%mailer_password%"
|
|
|
|
spool: { type: memory }
|
2016-03-25 13:58:11 +00:00
|
|
|
|
2017-01-09 00:33:29 +00:00
|
|
|
jms_serializer:
|
|
|
|
enable_short_alias: false
|
|
|
|
|
2016-03-25 13:58:11 +00:00
|
|
|
knp_markdown:
|
|
|
|
parser:
|
2017-01-08 23:26:06 +00:00
|
|
|
service: app.point.markdown_parser
|
2016-12-10 23:43:25 +00:00
|
|
|
|
|
|
|
knp_paginator:
|
|
|
|
template:
|
2017-01-04 22:36:30 +00:00
|
|
|
pagination: KnpPaginatorBundle:Pagination:twitter_bootstrap_v3_pagination.html.twig
|
|
|
|
|
|
|
|
csa_guzzle:
|
|
|
|
profiler: '%kernel.debug%'
|