mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-04 19:54:14 +02:00
fixed unnecessary load of source in template_exists() and the
compile-check of smarty_core_read_cache_file()
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user