Re: [SMARTY] Method Request

From: Date: Thu, 20 Feb 2003 19:09:56 +0000
Subject: Re: [SMARTY] Method Request
References: 1 2 3 4 5  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8035@lists.php.net to get a copy of this message
"Paul Lockaby" <lockaby@vt.edu> wrote in news:3E55272D.9090306@vt.edu... > Assigned, definitely. As both Tom and I have said, this will speed up > execution by not having to load the config file twice. While > config_load() is meant to mimic the functionality, I think that it can > and should be extended to do more for the programmer. Personally, I > store all of my configuration information in a template file, like > database information, mail server information, site information, color > information, etc. This makes one easy file for someone to edit in order > to change a whole bunch of variables. Yes, you need to run config_load() before being able to fetch config vars I was requesting this because I need those config options in my SQL strings, and so I need to fetch it in the PHP code, not in the template code Starting to love smarty and the way the community around it works... now please respond to my "Compile time" thread :( -- Tom Sommer www.tsn.dk - www.dreamcoder.dk

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