Re: [SMARTY-DEV] clear_compiled_tpl() bug or missing feature

From: Date: Thu, 06 Nov 2003 04:33:26 +0000
Subject: Re: [SMARTY-DEV] clear_compiled_tpl() bug or missing feature
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1912@lists.php.net to get a copy of this message
From: "Thomas Schulz" <ths@4bconsult.de> ... > Is there a posibility to clear entire compile directory or maybe better to > have grouped compile-ids with the same behavior of cache groups? While we're on the topic... It would be very helpful if Smarty kept track of compiled template compatibility so that when the framework changes such that old templates are no longer compatible, I can discover this fact and clear out my compiled templates without requiring my end users to take an extra upgrade step. I can't rely upon $_version since it doesn't have fine enough granularity (eg, it was at "2.6.0-cvs" before and after the core restructuring) and I integrate CVS snaps into my builds. I've been maintaining my own compatibility id, incrementing it whenever I notice that things have changed, but I'm always guessing and it'd be nice do it more officially :-) -Bharat

« previous php.smarty.dev (#1912) next »