source: cpc/trunk/project/apps/frontend/config/settings.yml @ 2

Last change on this file since 2 was 2, checked in by teymour, 12 years ago

Permier commit

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