framework.yaml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # see https://symfony.com/doc/current/reference/configuration/framework.html
  2. framework:
  3. secret: '%env(APP_SECRET)%'
  4. #csrf_protection: true
  5. http_method_override: false
  6. # Enables session support. Note that the session will ONLY be started if you read or write from it.
  7. # Remove or comment this section to explicitly disable session support.
  8. session:
  9. handler_id: null
  10. cookie_secure: auto
  11. cookie_samesite: lax
  12. storage_factory_id: session.storage.factory.native
  13. #esi: true
  14. #fragments: true
  15. php_errors:
  16. log: true
  17. http_client:
  18. scoped_clients:
  19. tmdb.client:
  20. base_uri: '%env(TMDB_URL)%'
  21. query:
  22. language: 'fr'
  23. #api_key: '%env(TMDB_APIKEY_V3)%'
  24. headers:
  25. Authorization: 'Bearer %env(TMDB_APIKEY_V4)%'
  26. Content-Type: 'application/json;charset=utf-8'
  27. mattermost.client:
  28. base_uri: '%env(resolve:MATTERMOST_URL)%'
  29. headers:
  30. Authorization: 'Bearer %env(MATTERMOST_TOKEN)%'
  31. Content-Type: 'application/json;charset=utf-8'
  32. when@test:
  33. framework:
  34. test: true
  35. session:
  36. storage_factory_id: session.storage.factory.mock_file