00001 <?php 00017 function smarty_core_process_compiled_include($params, &$smarty) 00018 { 00019 $_cache_including = $smarty->_cache_including; 00020 $smarty->_cache_including = true; 00021 00022 $_return = $params['results']; 00023 00024 foreach ($smarty->_cache_info['cache_serials'] as $_include_file_path=>$_cache_serial) { 00025 $smarty->_include($_include_file_path, true); 00026 } 00027 00028 foreach ($smarty->_cache_serials as $_include_file_path=>$_cache_serial) { 00029 $_return = preg_replace_callback('!(\{nocache\:('.$_cache_serial.')#(\d+)\})!s', 00030 array(&$smarty, '_process_compiled_include_callback'), 00031 $_return); 00032 } 00033 $smarty->_cache_including = $_cache_including; 00034 return $_return; 00035 } 00036 00037 ?>