full.yml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. framework:
  2. secret: s3cr3t
  3. default_locale: fr
  4. form:
  5. csrf_protection:
  6. field_name: _csrf
  7. http_method_override: false
  8. trusted_proxies: ['127.0.0.1', '10.0.0.1']
  9. csrf_protection:
  10. enabled: true
  11. esi:
  12. enabled: true
  13. ssi:
  14. enabled: true
  15. profiler:
  16. only_exceptions: true
  17. enabled: false
  18. router:
  19. resource: '%kernel.root_dir%/config/routing.xml'
  20. type: xml
  21. session:
  22. storage_id: session.storage.native
  23. handler_id: session.handler.native_file
  24. name: _SYMFONY
  25. cookie_lifetime: 86400
  26. cookie_path: /
  27. cookie_domain: example.com
  28. cookie_secure: true
  29. cookie_httponly: false
  30. use_cookies: true
  31. gc_probability: 1
  32. gc_divisor: 108
  33. gc_maxlifetime: 90000
  34. save_path: /path/to/sessions
  35. templating:
  36. engines: [php, twig]
  37. loader: [loader.foo, loader.bar]
  38. cache: /path/to/cache
  39. form:
  40. resources: [theme1, theme2]
  41. hinclude_default_template: global_hinclude_template
  42. translator:
  43. enabled: true
  44. fallback: fr
  45. paths: ['%kernel.root_dir%/Fixtures/translations']
  46. validation:
  47. enabled: true
  48. cache: validator.mapping.cache.doctrine.apc
  49. annotations:
  50. cache: file
  51. debug: true
  52. file_cache_dir: '%kernel.cache_dir%/annotations'
  53. serializer:
  54. enabled: true
  55. enable_annotations: true
  56. cache: serializer.mapping.cache.apc
  57. name_converter: serializer.name_converter.camel_case_to_snake_case
  58. ide: file%%link%%format
  59. request:
  60. formats:
  61. csv: ['text/csv', 'text/plain']
  62. pdf: 'application/pdf'