⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 core.process_compiled_include.php

📁 PHPYou是基于php+mysql架构的开源图库相册系统.以其强大易用的图片批处理功能和幻灯式图片浏览效果而闻名.其不断优化的数据结构,代码算法,模板引擎,数据缓存,和最少化数据库查询设计,使得PH
💻 PHP
字号:
<?php/** * Smarty plugin * @package Smarty * @subpackage plugins *//** * Replace nocache-tags by results of the corresponding non-cacheable * functions and return it * * @param string $compiled_tpl * @param string $cached_source * @return string */function smarty_core_process_compiled_include($params, &$smarty){    $_cache_including = $smarty->_cache_including;    $smarty->_cache_including = true;    $_return = $params['results'];    foreach ($smarty->_cache_info['cache_serials'] as $_include_file_path=>$_cache_serial) {        $smarty->_include($_include_file_path, true);    }    foreach ($smarty->_cache_serials as $_include_file_path=>$_cache_serial) {        $_return = preg_replace_callback('!(\{nocache\:('.$_cache_serial.')#(\d+)\})!s',                                         array(&$smarty, '_process_compiled_include_callback'),                                         $_return);    }    $smarty->_cache_including = $_cache_including;    return $_return;}?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -