settings.yml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. prod:
  2. .settings:
  3. no_script_name: off
  4. logging_enabled: off
  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. all:
  13. rich_text_js_dir: "js/catalyz/tiny_mce"
  14. .actions:
  15. login_module: user # To be called when a non-authenticated user
  16. login_action: login # Tries to access a secure page
  17. secure_module: user # To be called when a user doesn't have
  18. secure_action: login # The credentials required for an action
  19. .settings:
  20. # Form security secret (CSRF protection)
  21. csrf_secret: false # Unique secret to enable CSRF protection or false to disable
  22. i18n: on
  23. compat_10: on
  24. # Output escaping settings
  25. escaping_strategy: false # Determines how variables are made available to templates. Accepted values: on, off.
  26. 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.
  27. # Cache settings
  28. lazy_cache_key: on # Delays creation of a cache key until after checking whether an action or partial is cacheable
  29. # Helpers included in all templates by default
  30. standard_helpers: [Partial, Cache, Form, Catalyz, cz, sfThumbnail, wpPersistenceManager]
  31. enabled_modules: [wpFlashMessages, wpPersistenceManager, catalyz]
  32. # Validation settings, used for error generation by the Validation helper
  33. validation_error_prefix: ' &uarr;&nbsp;'
  34. validation_error_suffix: ' &nbsp;&uarr;'
  35. validation_error_class: form_error
  36. #all:
  37. # .actions:
  38. # error_404_module: default # To be called when a 404 error is raised
  39. # error_404_action: error404 # Or when the requested URL doesn't match any route
  40. #
  41. # login_module: default # To be called when a non-authenticated user
  42. # login_action: login # Tries to access a secure page
  43. #
  44. # secure_module: default # To be called when a user doesn't have
  45. # secure_action: secure # The credentials required for an action
  46. #
  47. # module_disabled_module: default # To be called when a user requests
  48. # module_disabled_action: disabled # A module disabled in the module.yml
  49. #
  50. # .settings:
  51. # # Optional features. Deactivating unused features boots performance a bit.
  52. # use_database: on # Enable database manager. Set to off if you don't use a database.
  53. # i18n: off # Enable interface translation. Set to off if your application should not be translated.
  54. # 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.
  55. # compressed: off # Enable PHP response compression. Set to on to compress the outgoing HTML via the PHP handler.
  56. # 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.
  57. #
  58. # # Routing settings
  59. # no_script_name: off # Enable the front controller name in generated URLs
  60. #
  61. # # Validation settings, used for error generation by the Validation helper
  62. # validation_error_prefix: ' &darr;&nbsp;'
  63. # validation_error_suffix: ' &nbsp;&darr;'
  64. # validation_error_class: form_error
  65. # validation_error_id_prefix: error_for_
  66. #
  67. # # Cache settings
  68. # cache: off # Enable the template cache
  69. # etag: on # Enable etag handling
  70. # lazy_cache_key: off # Delays creation of a cache key until after checking whether an action or partial is cacheable (defaults to false for backward compatibility)
  71. #
  72. # # Logging and debugging settings
  73. # web_debug: off # Enable the web debug toolbar
  74. # error_reporting: <?php echo (E_PARSE | E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR | E_USER_ERROR)."\n" ?> # Determines which events are logged.
  75. #
  76. # # Assets paths
  77. # rich_text_js_dir: js/tiny_mce
  78. # admin_web_dir: /sf/sf_admin
  79. # web_debug_web_dir: /sf/sf_web_debug
  80. # calendar_web_dir: /sf/calendar
  81. #
  82. # # Helpers included in all templates by default
  83. # standard_helpers: [Partial, Cache, Form]
  84. #
  85. # # Activated modules from plugins or from the symfony core
  86. # enabled_modules: [default]
  87. #
  88. # # Charset used for the response
  89. # charset: utf-8
  90. #
  91. # # Miscellaneous
  92. # strip_comments: on # Remove comments in core framework classes as defined in the core_compile.yml
  93. # max_forwards: 5
  94. #
  95. # # Logging
  96. # logging_enabled: on
  97. #
  98. # # i18n
  99. # default_culture: en # Default user culture