template resources and compile_check

From: Date: Thu, 31 Oct 2002 12:32:28 +0000
Subject: template resources and compile_check
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6291@lists.php.net to get a copy of this message
hello list, i was playing around with template resources and encountered the following problem: when i set compile_check to true, the template-source is fetched everytime i include the template (smarty_resource_test_source() is called). smarty_resource_test_mtime() is also called and returns an mtime that is definitely older than the compiled template. i would have expected, that the template-source is only fetched when the template changed (== is newer than the compiled template). is this a known issue? did i overlook another setting? is it worth having a look at the ressource-handling code to fix this? if i set compile_check to false everything works and the template-source is not fetched anymore, but this is not flexible enough for my purpose. any ideas? regards messju

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