mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-04 06:12:48 +08:00
增加view_filter行为标签
This commit is contained in:
@@ -176,6 +176,8 @@ class View
|
||||
}
|
||||
// 获取并清空缓存
|
||||
$content = ob_get_clean();
|
||||
// 内容过滤标签
|
||||
APP_HOOK && Hook::listen('view_filter', $content);
|
||||
// 允许用户自定义模板的字符串替换
|
||||
if (!empty($this->config['parse_str'])) {
|
||||
$replace = $this->config['parse_str'];
|
||||
|
||||
Reference in New Issue
Block a user