Re: [SMARTY] Cycle config vars?
| From: | Monte Ohrt | Date: | Fri, 21 Feb 2003 21:20:53 +0000 |
| Subject: | Re: [SMARTY] Cycle config vars? | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8103@lists.php.net to get a copy of this message | ||
$smarty->config_overwrite = false;
my.conf
-------
var = val1
var = val2
var = val3
{config_load file="my.conf"}
{#var} <-- array('val1','val2','val3')
On Fri, 2003-02-21 at 15:11, Tom Sommer wrote:
> On 21 Feb 2003 15:10:02 -0600, Monte Ohrt wrote:
>
> > You have to supply either static values, or an array:
>
> > {cycle values=#vals#}
>
> I saw someone use $_config-> or something :) because then I would have to
> convert the config vars into arrays and that seems like a waste :)
>
> --
> Tom Sommer, denmark
> www.tsn.dk - www.dreamcoder.dk
--
Monte Ohrt <monte@ispi.net>