settings.yml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. prod:
  2. .settings:
  3. no_script_name: on
  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. error_404_module: katao # To be called when a 404 error is raised
  16. error_404_action: notFound # Or when the requested URL doesn't match any route
  17. login_module: katao
  18. login_action: index
  19. secure_module: katao # To be called when a user doesn't have
  20. secure_action: index # The credentials required for an action
  21. .settings:
  22. # Form security secret (CSRF protection)
  23. csrf_secret: false # Unique secret to enable CSRF protection or false to disable
  24. i18n: on # Enable interface translation. Set to off if your application should not be translated.
  25. # Output escaping settings
  26. escaping_strategy: false # Determines how variables are made available to templates. Accepted values: on, off.
  27. 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.
  28. # Activated modules from plugins or from the symfony core
  29. enabled_modules: [catalyzLoginHandlerViewGroup, catalyz]
  30. # # Helpers included in all templates by default
  31. standard_helpers: [Partial, Cache, Form, I18N, sfThumbnail, Catalyz, cz]
  32. # # enable 1.0 compatibility
  33. compat_10: on
  34. # Validation settings, used for error generation by the Validation helper
  35. validation_error_prefix: ' &uarr;&nbsp;'
  36. validation_error_suffix: ' &nbsp;&uarr;'
  37. validation_error_class: form_error
  38. #all:
  39. #
  40. # login_module: default # To be called when a non-authenticated user
  41. # login_action: login # Tries to access a secure page
  42. #
  43. # secure_module: default # To be called when a user doesn't have
  44. # secure_action: secure # The credentials required for an action
  45. #
  46. # module_disabled_module: default # To be called when a user requests
  47. # module_disabled_action: disabled # A module disabled in the module.yml
  48. #
  49. # .settings:
  50. # # Optional features. Deactivating unused features boots performance a bit.
  51. # use_database: on # Enable database manager. Set to off if you don't use a database.
  52. # i18n: off # Enable interface translation. Set to off if your application should not be translated.
  53. # 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.
  54. # compressed: off # Enable PHP response compression. Set to on to compress the outgoing HTML via the PHP handler.
  55. # 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.
  56. #
  57. # # Routing settings
  58. # relative_url_root: # Default URL prefix. Use this when your symfony project is installed in a sub directory of the apache document root.
  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. #
  71. # # Logging and debugging settings
  72. # web_debug: off # Enable the web debug toolbar
  73. # error_reporting: <?php echo (E_PARSE | E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR | E_USER_ERROR)."\n" ?> # Determines which events are logged.
  74. #
  75. # # Assets paths
  76. # rich_text_js_dir: js/tiny_mce
  77. # prototype_web_dir: /sf/prototype
  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. # path_info_array: SERVER
  95. # path_info_key: PATH_INFO
  96. # url_format: PATH
  97. #
  98. # # ORM
  99. # orm: propel
  100. #
  101. # # Logging
  102. # logging_enabled: on
  103. #
  104. # # i18n
  105. # default_culture: en # Default user culture
  106. #
  107. # # enable 1.0 compatibility
  108. # compat_10: off