| 1 |
lars |
1 |
default:
|
|
|
2 |
.actions:
|
|
|
3 |
error_404_module: default # To be called when a 404 error is raised
|
|
|
4 |
error_404_action: error404 # Or when the requested URL doesn't match any route
|
|
|
5 |
|
|
|
6 |
login_module: default # To be called when a non-authenticated user
|
|
|
7 |
login_action: login # Tries to access a secure page
|
|
|
8 |
|
|
|
9 |
secure_module: default # To be called when a user doesn't have
|
|
|
10 |
secure_action: secure # The credentials required for an action
|
|
|
11 |
|
|
|
12 |
module_disabled_module: default # To be called when a user requests
|
|
|
13 |
module_disabled_action: disabled # A module disabled in the module.yml
|
|
|
14 |
|
|
|
15 |
.settings:
|
|
|
16 |
# Optional features. Deactivating unused features boots performance a bit.
|
|
|
17 |
use_database: true # Enable database manager. Set to false if you don't use a database.
|
|
|
18 |
i18n: false # Enable interface translation. Set to false if your application should not be translated.
|
|
|
19 |
compressed: false # Enable PHP response compression. Set to true to compress the outgoing HTML via the PHP handler.
|
|
|
20 |
check_lock: false # Enable the application lock system triggered by the clear-cache and disable tasks. Set to true to have all requests to disabled applications redirected to the sfConfig::get('sf_symfony_lib_dir')/exception/data/unavailable.php page.
|
|
|
21 |
|
|
|
22 |
# Form security secret (CSRF protection)
|
|
|
23 |
csrf_secret: false # Unique secret to enable CSRF protection or false to disable
|
|
|
24 |
|
|
|
25 |
# Output escaping settings
|
|
|
26 |
escaping_strategy: false # Determines how variables are made available to templates. Accepted values: true, false.
|
|
|
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 |
|
|
|
29 |
# Routing settings
|
|
|
30 |
no_script_name: false # Enable the front controller name in generated URLs
|
|
|
31 |
|
|
|
32 |
# Cache settings
|
|
|
33 |
cache: false # Enable the template cache
|
|
|
34 |
etag: true # Enable etag handling
|
|
|
35 |
|
|
|
36 |
# Logging and debugging settings
|
|
|
37 |
web_debug: false # Enable the web debug toolbar
|
|
|
38 |
error_reporting: <?php echo (E_PARSE | E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR | E_USER_ERROR)."\n" ?> # Determines which events are logged.
|
|
|
39 |
file_link_format: ~ # Format to use to make file paths clickable (include placeholders %f and %l for file and line number)
|
|
|
40 |
|
|
|
41 |
# Assets paths
|
|
|
42 |
admin_web_dir: /sf/sf_admin
|
|
|
43 |
web_debug_web_dir: /sf/sf_web_debug
|
|
|
44 |
|
|
|
45 |
# Helpers included in all templates by default
|
|
|
46 |
standard_helpers: [Partial, Cache]
|
|
|
47 |
|
|
|
48 |
# Activated modules from plugins or from the symfony core
|
|
|
49 |
enabled_modules: [default]
|
|
|
50 |
|
|
|
51 |
# Charset used for the response
|
|
|
52 |
charset: utf-8
|
|
|
53 |
|
|
|
54 |
# Logging
|
|
|
55 |
logging_enabled: true
|
|
|
56 |
|
|
|
57 |
# i18n
|
|
|
58 |
default_culture: en # Default user culture
|