fixed unnecessary load of source in template_exists() and the

compile-check of smarty_core_read_cache_file()
This commit is contained in:
messju
2003-08-18 10:17:28 +00:00
parent 6f473f2820
commit 09aa653a75
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -1108,7 +1108,7 @@ class Smarty
*/
function template_exists($tpl_file)
{
$_params = array('resource_name' => $tpl_file);
$_params = array('resource_name' => $tpl_file, 'get_source'=>false);
return $this->_fetch_resource_info($_params);
}