For some reason, I can't get Smarty to stop caching templates, which is very annoying when I make changes to templates during development. Can someone tell me where I am going wrong by disabling all caching ?:
$smarty = new Smarty(); $smarty->template_dir = SMARTY_PATH."/templates"; $smarty->compile_dir = SMARTY_PATH."/templates_c"; $smarty->cache_dir = SMARTY_PATH."/cache"; $smarty->config_dir = SMARTY_PATH."/configs"; $smarty->cache_lifetime = 1; $smarty->caching = 0;
php smarty
Rob
source share