start_sf5_project_reboot/app/config/packages/framework.yaml

25 lines
714 B
YAML
Raw Normal View History

2021-04-17 20:56:03 +00:00
# see https://symfony.com/doc/current/reference/configuration/framework.html
framework:
secret: '%env(APP_SECRET)%'
#csrf_protection: true
2022-10-01 15:50:16 +00:00
http_method_override: false
2021-04-17 20:56:03 +00:00
# Enables session support. Note that the session will ONLY be started if you read or write from it.
# Remove or comment this section to explicitly disable session support.
session:
handler_id: null
cookie_secure: auto
cookie_samesite: lax
2022-10-01 15:50:16 +00:00
storage_factory_id: session.storage.factory.native
2021-04-17 20:56:03 +00:00
#esi: true
#fragments: true
php_errors:
log: true
2022-10-01 15:50:16 +00:00
when@test:
framework:
test: true
session:
storage_factory_id: session.storage.factory.mock_file