mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 11:00:40 +08:00
- Start Session using legacy - Add LegacyBridgeSession handlers to have so that symfony uses the legacy session
29 lines
724 B
YAML
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
|