PageRenderTime 44ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/apps/mobile_frontend/config/settings.yml

https://github.com/bb-dev/OpenPNE3
YAML | 108 lines | 33 code | 5 blank | 70 comment | 0 complexity | 17fbb1d427c8998268251653db92fb89 MD5 | raw file
  1. prod:
  2. .settings:
  3. no_script_name: false
  4. logging_enabled: false
  5. check_lock: true
  6. .actions:
  7. error_404_action: error
  8. module_disabled_action: error
  9. dev:
  10. .settings:
  11. error_reporting: <?php echo (E_ALL)."\n" ?>
  12. web_debug: true
  13. cache: false
  14. no_script_name: false
  15. etag: false
  16. test:
  17. .settings:
  18. error_reporting: <?php echo ((E_ALL) ^ E_NOTICE)."\n" ?>
  19. cache: false
  20. web_debug: false
  21. no_script_name: false
  22. etag: false
  23. all:
  24. .settings:
  25. # Form security secret (CSRF protection)
  26. csrf_secret: <?php sfConfig::has('op_csrf_secret') ? print sfConfig::get('op_csrf_secret') : print filemtime(__FILE__)."\n" ?> # Unique secret to enable CSRF protection or false to disable
  27. # Output escaping settings
  28. escaping_strategy: 'on' # Determines how variables are made available to templates. Accepted values: on, off.
  29. 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.
  30. #all:
  31. # .actions:
  32. # error_404_module: default # To be called when a 404 error is raised
  33. # error_404_action: error404 # Or when the requested URL doesn't match any route
  34. #
  35. login_module: member # To be called when a non-authenticated user
  36. login_action: login # Tries to access a secure page
  37. #
  38. # secure_module: default # To be called when a user doesn't have
  39. # secure_action: secure # The credentials required for an action
  40. #
  41. # module_disabled_module: default # To be called when a user requests
  42. # module_disabled_action: disabled # A module disabled in the module.yml
  43. #
  44. # .settings:
  45. # # Optional features. Deactivating unused features boots performance a bit.
  46. # use_database: on # Enable database manager. Set to off if you don't use a database.
  47. i18n: on # Enable interface translation. Set to off if your application should not be translated.
  48. # 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.
  49. # compressed: off # Enable PHP response compression. Set to on to compress the outgoing HTML via the PHP handler.
  50. # 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_data_dir/web/errors/unavailable.php page.
  51. #
  52. # # Routing settings
  53. # relative_url_root: # Default URL prefix. Use this when your symfony project is installed in a sub directory of the apache document root.
  54. # no_script_name: off # Enable the front controller name in generated URLs
  55. #
  56. # # Validation settings, used for error generation by the Validation helper
  57. # validation_error_prefix: ' &darr;&nbsp;'
  58. # validation_error_suffix: ' &nbsp;&darr;'
  59. # validation_error_class: form_error
  60. # validation_error_id_prefix: error_for_
  61. #
  62. # # Cache settings
  63. # cache: off # Enable the template cache
  64. # etag: on # Enable etag handling
  65. #
  66. # # Logging and debugging settings
  67. # web_debug: off # Enable the web debug toolbar
  68. # error_reporting: <?php echo (E_PARSE | E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR | E_USER_ERROR)."\n" ?> # Determines which events are logged.
  69. #
  70. # # Assets paths
  71. # rich_text_js_dir: js/tiny_mce
  72. # prototype_web_dir: /sf/prototype
  73. # admin_web_dir: /sf/sf_admin
  74. # web_debug_web_dir: /sf/sf_web_debug
  75. # calendar_web_dir: /sf/calendar
  76. #
  77. # # Helpers included in all templates by default
  78. standard_helpers: [Partial, Cache, I18N, opParts, sfImage, opUtil]
  79. #
  80. # # Activated modules from plugins or from the symfony core
  81. enabled_modules: [default, image]
  82. #
  83. # # Charset used for the response
  84. # charset: utf-8
  85. #
  86. # # Miscellaneous
  87. # strip_comments: on # Remove comments in core framework classes as defined in the core_compile.yml
  88. # max_forwards: 5
  89. # path_info_array: SERVER
  90. # path_info_key: PATH_INFO
  91. # url_format: PATH
  92. #
  93. # # ORM
  94. # orm: propel
  95. #
  96. # # Logging
  97. # logging_enabled: true
  98. #
  99. # # i18n
  100. default_culture: ja_JP # Default user culture
  101. #
  102. # # enable 1.0 compatibility
  103. # compat_10: false