2023-01-09 15:06:49 +01:00
|
|
|
parameters:
|
|
|
|
base_url: '%env(BASE_URL)%'
|
|
|
|
env(BASE_URL): '//'
|
|
|
|
|
|
|
|
cookie_path: '%env(COOKIE_PATH)%'
|
|
|
|
env(COOKIE_PATH): '/'
|
2022-04-07 11:49:17 +02:00
|
|
|
framework:
|
|
|
|
secret: '%env(APP_SECRET)%'
|
|
|
|
#csrf_protection: true
|
|
|
|
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:
|
2023-12-14 11:14:53 +01:00
|
|
|
handler_id: '%env(REDIS_DSN)%?prefix=%env(string:HYDRA_SQL_REDIS_PREFIX)%&ttl=%env(int:HYDRA_SQL_REDIS_TTL)%'
|
2022-04-07 11:49:17 +02:00
|
|
|
cookie_secure: auto
|
|
|
|
cookie_samesite: lax
|
|
|
|
storage_factory_id: session.storage.factory.native
|
2023-01-09 15:06:49 +01:00
|
|
|
cookie_path: "%cookie_path%"
|
|
|
|
assets:
|
|
|
|
base_urls: '%base_url%'
|
|
|
|
router:
|
|
|
|
default_uri: '%base_url%'
|
2022-04-07 11:49:17 +02:00
|
|
|
#esi: true
|
|
|
|
#fragments: true
|
|
|
|
php_errors:
|
|
|
|
log: true
|
2023-06-12 15:26:56 +02:00
|
|
|
error_controller: App\Controller\CustomErrorController::show
|
2022-04-07 11:49:17 +02:00
|
|
|
|
|
|
|
when@test:
|
|
|
|
framework:
|
|
|
|
test: true
|
|
|
|
session:
|
2023-12-12 08:47:41 +01:00
|
|
|
storage_factory_id: session.storage.factory.mock_file
|