Re: [SMARTY] Use config vars inside .php file (not the .tpl file)

From: Date: Fri, 14 Mar 2003 23:14:18 +0000
Subject: Re: [SMARTY] Use config vars inside .php file (not the .tpl file)
References: 1 2 3 4  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8666@lists.php.net to get a copy of this message
On 14 Mar 2003 23:50:54 +0100, Travel Jadoo wrote: > $lang2 is supposed to get the globals + the section. However it only > gets the section. Documentation: Config files may also contain sections. You can load variables from within a section with the added attribute section. I would think globals also should be loaded, however I'm sure many disagree I would also like get_config_vars to 1) return an array if no argument is given 2) include hidden sections (since it's PHP and users can't get to it) -- Tom Sommer, denmark www.tsn.dk - www.dreamcoder.dk

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