5 * @subpackage plugins
\r
9 * Replace nocache-tags by results of the corresponding non-cacheable
\r
10 * functions and return it
\r
12 * @param string $compiled_tpl
\r
13 * @param string $cached_source
\r
17 function smarty_core_process_compiled_include($params, &$smarty)
\r
19 $_cache_including = $smarty->_cache_including;
\r
20 $smarty->_cache_including = true;
\r
22 $_return = $params['results'];
\r
23 foreach ($smarty->_cache_serials as $_include_file_path=>$_cache_serial) {
\r
24 $_return = preg_replace_callback('!(\{nocache\:('.$_cache_serial.')#(\d+)\})!s',
\r
25 array(&$smarty, '_process_compiled_include_callback'),
\r
28 $smarty->_cache_including = $_cache_including;
\r