Re: smarty config
| From: | Ilir | Date: | Tue, 08 Apr 2003 04:15:27 +0000 |
| Subject: | Re: smarty config | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9185@lists.php.net to get a copy of this message | ||
Hi,
While at it, how do you load a .hidden variable using:
$foo = $smarty->get_config_vars('foo');
I tried:
$foo = $smarty->get_config_vars('.foo'); //Notice the period before 'foo'
Yet, I can't load the hidden variable. The hidden variable is the database
password.
Any ideas how to go about this? Thanks.
Ilir.
"Elgi" <elgi@tiscali.fr> wrote in message
news:151752208728.20030405163448@tiscali.fr...
> 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 ?
>
> --
> Cordialement,
> Elgi
>
>