修正include标签的bug

This commit is contained in:
oldrind
2016-02-17 18:50:47 +08:00
parent 40785632ac
commit bfe8f24763
4 changed files with 6 additions and 2 deletions

View File

@@ -404,9 +404,9 @@ class Template
}
$parseStr = str_replace('[' . $k . ']', $v, $parseStr);
}
$content = str_replace($match[0], $parseStr, $content);
// 再次对包含文件进行模板分析
$funReplace($parseStr);
$content = str_replace($match[0], $parseStr, $content);
}
unset($matches);
}