framework.yaml 1.3 KB

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