mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
added $exp_time-parameter
This commit is contained in:
@@ -35,7 +35,7 @@ function smarty_core_read_cache_file(&$params, &$smarty)
|
|||||||
if (!empty($smarty->cache_handler_func)) {
|
if (!empty($smarty->cache_handler_func)) {
|
||||||
// use cache_handler function
|
// use cache_handler function
|
||||||
call_user_func_array($smarty->cache_handler_func,
|
call_user_func_array($smarty->cache_handler_func,
|
||||||
array('read', &$smarty, &$params['results'], $params['tpl_file'], $params['cache_id'], $params['compile_id']));
|
array('read', &$smarty, &$params['results'], $params['tpl_file'], $params['cache_id'], $params['compile_id'], null));
|
||||||
} else {
|
} else {
|
||||||
// use local cache file
|
// use local cache file
|
||||||
$_auto_id = $smarty->_get_auto_id($params['cache_id'], $params['compile_id']);
|
$_auto_id = $smarty->_get_auto_id($params['cache_id'], $params['compile_id']);
|
||||||
|
Reference in New Issue
Block a user