Changeset 9027
- Timestamp:
- 05/17/08 10:30:13 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
doc/branches/1.1/book/06-Inside-the-Controller-Layer.txt
r8671 r9027 870 870 871 871 rendering: ~ 872 web_debug: ~873 872 security: ~ 874 873 … … 892 891 You can customize the filter chain in various ways: 893 892 894 * Disable some filters from the chain by adding an `enabled: off` parameter. For instance, to disable the web debug filter, write:895 896 web_debug:893 * Disable some filters from the chain by adding an `enabled: off` parameter. For instance, to disable the common filter, which inserts CSS and JavaScript into the head, write: 894 895 common: 897 896 enabled: off 898 897 … … 902 901 903 902 >**TIP** 904 >The `enabled: off` parameter works well to disable your own filters, but you can deactivate the default filters via the `settings.yml` file, by modifying the values of the ` web_debug`, `use_security`, and `cache` settings. This is because each of the default filters has a `condition` parameter that tests the value of these settings.903 >The `enabled: off` parameter works well to disable your own filters, but you can deactivate the default filters via the `settings.yml` file, by modifying the values of the `use_security`, and `cache` settings. This is because each of the default filters has a `condition` parameter that tests the value of these settings. 905 904 906 905 … … 955 954 956 955 rendering: ~ 957 web_debug: ~958 956 security: ~ 959 957