Re: [SMARTY] smarty config
| From: | messju mohr | Date: | Sat, 05 Apr 2003 14:42:04 +0000 |
| Subject: | Re: [SMARTY] smarty config | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9120@lists.php.net to get a copy of this message | ||
On Sat, Apr 05, 2003 at 04:34:48PM +0200, Elgi wrote:
> Hello smarty-general,
>
> in the doc, i see :
> {config_load ....}
> but it's not possible to make assign in php config ?
> i make this and it's god:
> $smarty->config_load('smarty.conf');
> but in smarty.conf, i have now 4 section
> and with the doc, i do make
> {config_load file="colors.conf" section="Customer"}
> how do make this in $smarty->config_load in php ?
$smarty->config_load('smarty.conf', 'Customer');
greetings
messju
> --
> Cordialement,
> Elgi