mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-10 00:22:48 +08:00
修正template类的模板解析方法
This commit is contained in:
@@ -1029,7 +1029,7 @@ class Template
|
||||
*/
|
||||
private function parseTemplateFile($template)
|
||||
{
|
||||
if (false === strpos($template, $this->config['view_suffix'])) {
|
||||
if (false === strpos($template, '.')) {
|
||||
if (strpos($template, '@')) {
|
||||
// 跨模块调用模板
|
||||
$template = str_replace(['/', ':'], $this->config['view_depr'], $template);
|
||||
|
||||
Reference in New Issue
Block a user