Re: [SMARTY] Question or feature suggestion: Arrays(hashes?) via config files
| From: | Monte Ohrt | Date: | Tue, 18 Feb 2003 14:58:34 +0000 |
| Subject: | Re: [SMARTY] Question or feature suggestion: Arrays(hashes?) via config files | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7826@lists.php.net to get a copy of this message | ||
make that $smarty->config_overwrite
On Tue, 2003-02-18 at 08:55, Monte Ohrt wrote:
> yes. set $smarty->overwrite = false
>
> then make your config file like so:
>
> foo = val1
> foo = val2
> foo = val3
>
>
> Then in the template #foo# will be an array.
>
> Monte
>
> On Tue, 2003-02-18 at 08:47, Ruslan Savchyshyn wrote:
> > Hello
> >
> > I was unable to find - is this possible to have arrays via smarty config
> > files?
> > I need to make 6-7 assigns before get page loaded.
> >
> > And don't want to have local request in each template.
> >
> > ---------------
> > Ruslan Savchyshyn
> > http://www.MagneticOne.com/
> > Web development and design services
> --
> Monte Ohrt <monte@ispi.net>
--
Monte Ohrt <monte@ispi.net>