thinkphp6 视图 tpl_replace_string 使用不了的解决方案
1、请查看是否安装模块 topthink/think-template,tp6开始很多模块都是独立出来的。
2、在 config/view.php 添加 tpl_replace_string,属性,如下图所示:
网址:yii666.com3、清理缓存!!!【重要】
文章地址https://www.yii666.com/learning/thinkphp/73.html文章来源地址:https://www.yii666.com/learning/thinkphp/73.html