mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
61 lines
1.7 KiB
YAML
61 lines
1.7 KiB
YAML
# This file is part of the Sylius package.
|
|
# (c) Paweł Jędrzejewski
|
|
|
|
imports:
|
|
- { resource: "@SyliusCoreBundle/Resources/config/app/config.yml" }
|
|
- { resource: "@SyliusAdminBundle/Resources/config/app/config.yml" }
|
|
- { resource: "@SyliusShopBundle/Resources/config/app/config.yml" }
|
|
- { resource: "@SyliusAdminApiBundle/Resources/config/app/config.yml" }
|
|
|
|
- { resource: "parameters.yml" }
|
|
- { resource: "security.yml" }
|
|
|
|
framework:
|
|
translator: { fallbacks: ["%locale%", "en"] }
|
|
secret: "%secret%"
|
|
router:
|
|
resource: "%kernel.root_dir%/config/routing.yml"
|
|
strict_requirements: "%kernel.debug%"
|
|
form: true
|
|
csrf_protection: true
|
|
validation: { enable_annotations: true }
|
|
templating: { engines: ["twig"] }
|
|
default_locale: "%locale%"
|
|
trusted_proxies: ~
|
|
session:
|
|
handler_id: ~
|
|
|
|
doctrine:
|
|
dbal:
|
|
driver: "%database_driver%"
|
|
host: "%database_host%"
|
|
port: "%database_port%"
|
|
dbname: "%database_name%"
|
|
user: "%database_user%"
|
|
password: "%database_password%"
|
|
server_version: "5.5"
|
|
charset: UTF8
|
|
|
|
doctrine_migrations:
|
|
dir_name: "%kernel.root_dir%/migrations"
|
|
namespace: Sylius\Migrations
|
|
table_name: sylius_migrations
|
|
name: Sylius Migrations
|
|
|
|
swiftmailer:
|
|
transport: "%mailer_transport%"
|
|
host: "%mailer_host%"
|
|
username: "%mailer_user%"
|
|
password: "%mailer_password%"
|
|
|
|
fos_rest:
|
|
exception: ~
|
|
view:
|
|
formats:
|
|
json: true
|
|
xml: true
|
|
empty_content: 204
|
|
format_listener:
|
|
rules:
|
|
- { path: '^/api', priorities: ['json', 'xml'], fallback_format: json, prefer_extension: true }
|
|
- { path: '^/', stop: true }
|