+++ /dev/null
-<?php\r
-/**\r
- * Smarty plugin\r
- * @package Smarty\r
- * @subpackage plugins\r
- */\r
-\r
-/**\r
- * Replace nocache-tags by results of the corresponding non-cacheable\r
- * functions and return it\r
- *\r
- * @param string $compiled_tpl\r
- * @param string $cached_source\r
- * @return string\r
- */\r
-\r
-function smarty_core_process_compiled_include($params, &$smarty)\r
-{\r
- $_cache_including = $smarty->_cache_including;\r
- $smarty->_cache_including = true;\r
-\r
- $_return = $params['results'];\r
- foreach ($smarty->_cache_serials as $_include_file_path=>$_cache_serial) {\r
- $_return = preg_replace_callback('!(\{nocache\:('.$_cache_serial.')#(\d+)\})!s',\r
- array(&$smarty, '_process_compiled_include_callback'),\r
- $_return);\r
- }\r
- $smarty->_cache_including = $_cache_including;\r
- return $_return;\r
-}\r
-\r
-?>\r