SuiteCRM-Core/config/packages/framework.yaml
Clemente Raposo a9052019cc Symfony 6.4 - Update Session handling to use the same session in symfony and legacy
- Start Session using legacy
- Add LegacyBridgeSession handlers to have so that symfony uses the legacy session
2024-08-21 18:06:15 +01:00

29 lines
724 B
YAML

# see https://symfony.com/doc/current/reference/configuration/framework.html
framework:
secret: '%env(APP_SECRET)%'
csrf_protection: true
#http_method_override: true
annotations: false
http_method_override: false
handle_all_throwables: true
# Note: Session will only be started if you read or write from it.
session:
cookie_lifetime: null
cookie_secure: auto
cookie_samesite: lax
storage_factory_id: session.storage.factory.legacy_bridge
handler_id: session.handler.legacy_bridge
save_path: ~
php_errors:
log: true
assets:
base_path: '/'
when@test:
framework:
test: true
session:
storage_factory_id: session.storage.factory.mock_file