Re: [SMARTY] Hidden [.Section] config vars in php file
| From: | Tom Henry | Date: | Fri, 14 Mar 2003 15:29:43 +0000 |
| Subject: | Re: [SMARTY] Hidden [.Section] config vars in php file | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8657@lists.php.net to get a copy of this message | ||
Thanks Monte - this does the trick!
As an additiopnal refinement - is there some way to do the equivalent of an 'extract()' - so that _all_ the hidden vars in the section are available -- thus alleviating the need to revist scripts if additions are made to the .conf files?
Thanks for you kind and gentle help,
Tom Henry
Monte Ohrt wrote:
You can set $config_read_hidden to true momentarily, but I like to use the Config_File class directly (see the FAQ in the wiki)