Re: compile_id doesn't work?

From: Date: Mon, 31 Dec 2001 16:00:27 +0000
Subject: Re: compile_id doesn't work?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2457@lists.php.net to get a copy of this message
On Mon, 31 Dec 2001, Ralph Meijer wrote: > Hi, > > I've been trying out the compile_id feature, but I didn't get it > to work without patching Smarty. As I browse through the code I see that > _get_compile_path is called to retrieve the place where the compiled > template should be stored. This method uses $this->_compile_id which > never gets set. In fetch() there is a $_smarty_compile_id which is used > for thing like checking for cache files etc, but as I see it the value > of this var should be given to $this->_compile_id. > > I patched Smarty to do just that and that seems to work. Could someone > tell if I'm doing something terribly wrong or this is indeed a bug? Which version of Smarty are you using? -Andrei * Software never has bugs. It just develops random features. *

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