Re: [SMARTY] Re: Loading hidden config variables in PHP code

From: Date: Mon, 14 Apr 2003 01:11:57 +0000
Subject: Re: [SMARTY] Re: Loading hidden config variables in PHP code
References: 1 2 3 4  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9234@lists.php.net to get a copy of this message
Tom Sommer wrote:
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...
You can use the Config_File directly (in wiki FAQ). Hidden sections/vars are accessible by default. Monte

« previous php.smarty.general (#9234) next »