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

From: Date: Fri, 14 Mar 2003 22:50:54 +0000
Subject: Re: [SMARTY] Use config vars inside .php file (not the .tpl file)
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8664@lists.php.net to get a copy of this message
$conf = new Config_File( etc); $lang1 = $conf->get('file'); $lang2 = $conf->get('file','section'); $lang1 gets the globals $lang2 is supposed to get the globals + the section. However it only gets the section. Am I doing something wrong? Alfred

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