Files
kimai2/config/packages/framework.yaml
Kevin Papst 6531e7fe52 Release 2.9.0 (#4526)
* added fix to work around bc break in new phpword version
* fix phpoffice deprecations
* mark unused option as deprecated
* support for DateTimeInterface and DateTimeImmutable where possible
* use TRUSTED_PROXIES setting - fixes #4533
* re-enable Kimai test in docker test build script (#4541)
* bump dependencies
2024-01-10 12:43:07 +01:00

54 lines
1.3 KiB
YAML

# see https://symfony.com/doc/current/reference/configuration/framework.html
parameters:
env(TRUSTED_PROXIES): ''
framework:
secret: '%env(APP_SECRET)%'
csrf_protection: true
annotations: false
handle_all_throwables: true
serializer:
enable_attributes: true
trusted_proxies: '%env(string:TRUSTED_PROXIES)%'
exceptions:
App\Validator\ValidationFailedException:
log_level: debug
default_locale: en
http_method_override: false
# 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: App\Security\SessionHandler
cookie_secure: auto
cookie_samesite: lax
cookie_httponly: true
storage_factory_id: session.storage.factory.native
php_errors:
log: true
mailer:
dsn: '%env(MAILER_URL)%'
validation:
email_validation_mode: html5
enable_attributes: true
when@dev:
framework:
mailer:
dsn: 'null://null'
when@test:
framework:
test: true
session:
storage_factory_id: session.storage.factory.mock_file
mailer:
dsn: 'null://null'