mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修正Hook类 改进Template对于布局的处理
This commit is contained in:
@@ -329,6 +329,8 @@ class Template
|
||||
$content = str_replace($this->config['layout_item'], $content, file_get_contents($layoutFile));
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$content = str_replace('{__NOLAYOUT__}', '', $content);
|
||||
}
|
||||
|
||||
// 模板解析
|
||||
|
||||
Reference in New Issue
Block a user