Re: [SMARTY] Method Request
| From: | Monte Ohrt | Date: | Thu, 20 Feb 2003 20:30:04 +0000 |
| Subject: | Re: [SMARTY] Method Request | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8052@lists.php.net to get a copy of this message | ||
Should getting values directly from config files be a function of
Smarty? You can do this:
$conf = new Config_File('./configs');
$var = $conf->get('foo','section');
Monte
On Thu, 2003-02-20 at 14:20, Tom Sommer wrote:
> On 20 Feb 2003 14:13:32 -0600, Monte Ohrt wrote:
>
> > Eh? I thought you guys agreed get_config_vars() gets the already loaded
> > configs, which wouldn't get hidden sections, use a manual process for
> > that. ??
>
> We need hidden sections!
>
> We need _everything_ in the config file :)
> --
> Tom Sommer, denmark
> www.tsn.dk - www.dreamcoder.dk
--
Monte Ohrt <monte@ispi.net>