Variables that are loaded from the config files are referenced by enclosing them within #hash marks#, or with the smarty variable $smarty.config. The later syntax is useful for embedding into quoted attribute values.
Example 4-6. config variables Example config file - foo.conf:
A template demonstrating the #hash# method:
A template demonstrating the $smarty.config method:
Both examples would output:
|
Config file variables cannot be used until after they are loaded in from a config file. This procedure is explained later in this document under {config_load}.
See also variables and $smarty reserved variables