If set to true (by default), variables read in from config files will overwrite each other. Otherwise, the variables will be pushed onto an array. This is helpful if you want to store arrays of data in config files, just list each element multiple times.
Example 12-3. Array of config variables This examples uses {cycle} to output a table with alternating red/green/blue row colors with $config_overwrite = false. The config file.
The template with a {section} loop.
|
See also {config_load}, config files, get_config_vars(), clear_config() and config_load().