settings.yml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. prod:
  2. .settings:
  3. no_script_name: on
  4. logging_enabled: on
  5. dev:
  6. .settings:
  7. error_reporting: <?php echo (E_ALL | E_STRICT)."\n" ?>
  8. web_debug: on
  9. cache: off
  10. no_script_name: off
  11. etag: off
  12. test:
  13. .settings:
  14. error_reporting: <?php echo ((E_ALL | E_STRICT) ^ E_NOTICE)."\n" ?>
  15. cache: off
  16. web_debug: off
  17. no_script_name: off
  18. etag: off
  19. all:
  20. .settings:
  21. # Form security secret (CSRF protection)
  22. csrf_secret: false # Unique secret to enable CSRF protection or false to disable
  23. # Output escaping settings
  24. escaping_strategy: on # Determines how variables are made available to templates. Accepted values: on, off.
  25. escaping_method: ESC_SPECIALCHARS # Function or helper used for escaping. Accepted values: ESC_RAW, ESC_ENTITIES, ESC_JS, ESC_JS_NO_ENTITIES, and ESC_SPECIALCHARS.
  26. compat_10: on
  27. registration_requests_dir: <?php echo sfConfig::get('sf_root_dir').'/2registrate/' ?>
  28. #all:
  29. # .actions:
  30. # error_404_module: default # To be called when a 404 error is raised
  31. # error_404_action: error404 # Or when the requested URL doesn't match any route
  32. #
  33. # login_module: default # To be called when a non-authenticated user
  34. # login_action: login # Tries to access a secure page
  35. #
  36. # secure_module: default # To be called when a user doesn't have
  37. # secure_action: secure # The credentials required for an action
  38. #
  39. # module_disabled_module: default # To be called when a user requests
  40. # module_disabled_action: disabled # A module disabled in the module.yml
  41. #
  42. # .settings:
  43. # # Optional features. Deactivating unused features boots performance a bit.
  44. # use_database: on # Enable database manager. Set to off if you don't use a database.
  45. # i18n: off # Enable interface translation. Set to off if your application should not be translated.
  46. # check_symfony_version: off # Enable check of symfony version for every request. Set to on to have symfony clear the cache automatically when the framework is upgraded. Set to off if you always clear the cache after an upgrade.
  47. # compressed: off # Enable PHP response compression. Set to on to compress the outgoing HTML via the PHP handler.
  48. # check_lock: off # Enable the application lock system triggered by the clear-cache and disable tasks. Set to on to have all requests to disabled applications redirected to the $sf_symfony_lib_dir/exception/data/unavailable.php page.
  49. #
  50. # # Routing settings
  51. # no_script_name: off # Enable the front controller name in generated URLs
  52. #
  53. # # Validation settings, used for error generation by the Validation helper
  54. # validation_error_prefix: ' &darr;&nbsp;'
  55. # validation_error_suffix: ' &nbsp;&darr;'
  56. # validation_error_class: form_error
  57. # validation_error_id_prefix: error_for_
  58. #
  59. # # Cache settings
  60. # cache: off # Enable the template cache
  61. # etag: on # Enable etag handling
  62. #
  63. # # Logging and debugging settings
  64. # web_debug: off # Enable the web debug toolbar
  65. # error_reporting: <?php echo (E_PARSE | E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR | E_USER_ERROR)."\n" ?> # Determines which events are logged.
  66. #
  67. # # Assets paths
  68. # rich_text_js_dir: js/tiny_mce
  69. # admin_web_dir: /sf/sf_admin
  70. # web_debug_web_dir: /sf/sf_web_debug
  71. # calendar_web_dir: /sf/calendar
  72. #
  73. # # Helpers included in all templates by default
  74. # standard_helpers: [Partial, Cache, Form]
  75. #
  76. # # Activated modules from plugins or from the symfony core
  77. # enabled_modules: [default]
  78. #
  79. # # Charset used for the response
  80. # charset: utf-8
  81. #
  82. # # Miscellaneous
  83. # strip_comments: on # Remove comments in core framework classes as defined in the core_compile.yml
  84. # max_forwards: 5
  85. #
  86. # # Logging
  87. # logging_enabled: on
  88. #
  89. # # i18n
  90. # default_culture: en # Default user culture