diff --git a/docs/en/designers/config-files.xml b/docs/en/designers/config-files.xml index d41b705a..8f8ba32d 100644 --- a/docs/en/designers/config-files.xml +++ b/docs/en/designers/config-files.xml @@ -49,8 +49,8 @@ pass=foobar # (hash) at the beginning of the line. - This config file example has two sections. Section names are - enclosed in brackets []. Section names can be arbitrary strings not + The example config file above has two sections. Section names are + enclosed in [brackets]. Section names can be arbitrary strings not containing [ or ] symbols. The four variables at the top are global variables, or variables not within a section. These variables are always loaded from the config @@ -59,29 +59,30 @@ pass=foobar exists both as a global and in a section, the section variable is used. If you name two variables the same within a section, the last one will be used unless - $config_overwrite is disabled. + $config_overwrite is disabled. - Config files are loaded into templates with the built-in function - - {config_load} (see also config_load() ). + Config files are loaded into templates with the built-in template function + + {config_load} or the API config_load() function. You can hide variables or entire sections by prepending the variable - name or section name with a period. This is useful if your + name or section name with a period eg [.hidden]. This is useful if your application reads the config files and gets sensitive data from them that the template engine does not need. If you have third parties doing template editing, you can be certain that they cannot read sensitive data from the config file by loading it into the template. - See also {config_load}, $config_overwrite, get_config_vars(), clear_config() and config_load() + See also + {config_load}, + $config_overwrite, + get_config_vars(), + clear_config() + and + config_load()