Re: [SMARTY] Re: Loading hidden config variables in PHP code
| From: | Tom Sommer | Date: | Mon, 14 Apr 2003 00:20:24 +0000 |
| Subject: | Re: [SMARTY] Re: Loading hidden config variables in PHP code | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9233@lists.php.net to get a copy of this message | ||
On Sun, 13 Apr 2003 19:18:08 -0500, Monte Ohrt wrote:
> Yes it has been discussed, and no that's not the answer, RTFM :-) The
> whole reason for having hidden sections/variables in config files is to
> hide them from templates. If you really want to be able to read them in
> templates, set $config_read_hidden to true.
I was assuming he talked about only accessing the hidden vars from the PHP
side, while still keeping them hidden from the templates...
--
Tom Sommer, Denmark
www.tsn.dk - www.dreamcoder.dk