Blame | Letzte Änderung | Log anzeigen | RSS feed
\$config\_overwrite {#variable.config.overwrite}===================If set to TRUE, the default then variables read in from [configfiles](#config.files) will overwrite each other. Otherwise, thevariables will be pushed onto an array. This is helpful if you want tostore arrays of data in config files, just list each element multipletimes.This examples uses [`{cycle}`](#language.function.cycle) to output atable with alternating red/green/blue row colors with`$config_overwrite` = FALSE.The config file.# row colorsrowColors = #FF0000rowColors = #00FF00rowColors = #0000FFThe template with a [`{section}`](#language.function.section) loop.<table>{section name=r loop=$rows}<tr bgcolor="{cycle values=#rowColors#}"><td> ....etc.... </td></tr>{/section}</table>See also [`{config_load}`](#language.function.config.load),[`getConfigVars()`](#api.get.config.vars),[`clearConfig()`](#api.clear.config), [`configLoad()`](#api.config.load)and the [config files section](#config.files).