You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
herbarium/config/packages/framework.yaml

32 lines
728 B

# see https://symfony.com/doc/current/reference/configuration/framework.html
framework:
secret: "%env(APP_SECRET)%"
#csrf_protection: true
assets:
base_path: "%env(ASSETS_BASE_PATH)%"
trusted_proxies: "%env(TRUSTED_PROXIES)%"
trusted_headers:
[
"x-forwarded-for",
"x-forwarded-host",
"x-forwarded-proto",
"x-forwarded-port",
"x-forwarded-prefix",
]
# Note that the session will be started ONLY if you read or write from it.
session: true
#esi: true
#fragments: true
# set_locale_from_accept_language: true
# set_content_language_from_locale: true
when@test:
framework:
test: true
session:
storage_factory_id: session.storage.factory.mock_file