[prev in list] [next in list] [prev in thread] [next in thread] 

List:       smarty-general
Subject:    [smarty] Re: compile_id doesn't work?
From:       Andrei Zmievski <andrei () ispi ! net>
Date:       2001-12-31 16:00:27
[Download RAW message or body]

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. *

---
You are currently subscribed to smarty as: smarty@progressive-comp.com
To unsubscribe send a blank email to leave-smarty-700385W@lists.ispi.net
Visit Smarty's homepage at http://www.phpinsider.com/php/code/Smarty/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic