Re: [SMARTY] Question or feature suggestion: Arrays(hashes?) via config files
| From: | Monte Ohrt | Date: | Tue, 18 Feb 2003 14:55:49 +0000 |
| Subject: | Re: [SMARTY] Question or feature suggestion: Arrays(hashes?) via config files | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7825@lists.php.net to get a copy of this message | ||
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>