Loading hidden config variables in PHP code
| From: | Ilir | Date: | Sun, 13 Apr 2003 23:19:50 +0000 |
| Subject: | Loading hidden config variables in PHP code | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9229@lists.php.net to get a copy of this message | ||
Hi everybody,
How do you load a .hidden variable using:
$foo = $smarty->get_config_vars('hiddenvar');
I tried:
$foo = $smarty->get_config_vars('.hiddenvar'); //Notice the period before
'hiddenvar'
Yet, I can't load the hidden variable. The hidden variable is the database
password.
Any ideas how to go about this? Thanks.
Ilir.