RE: [SMARTY] Should $this->compile_check logic check the timestamp of parent & included php files?

From: Date: Wed, 29 May 2002 14:51:06 +0000
Subject: RE: [SMARTY] Should $this->compile_check logic check the timestamp of parent & included php files?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4428@lists.php.net to get a copy of this message
At 10:41 29/05/02 -0400, Robert V. Zwink wrote:
But if "Smarty.class.php", "Another.class.php", or "template.php" is updated the is_cached() method will still return true because Smarty currently does not test the timestamp of the parent or included php files to determine if the cache should be expired.
But that's the correct behaviour. What's contained in your PHP files should have no relevance to what's cached. If the Smarty class changes then it shouldn't clear the templates as it has nothing much to do with the HTML output. Peter. --oOo-- Narrow Gauge on the web - photos, directory and forums! http://www.narrow-gauge.co.uk --oOo-- Glenbranter - Scottish narrow gauge in 009 http://glenbranter.narrow-gauge.co.uk --oOo--

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