共计 458 个字符,预计需要花费 2 分钟才能阅读完成。
thinkphp6 视图 tpl_replace_string 使用不了的解决方案
1、请查看是否 安装 模块 topthink/think-template,tp6 开始很多模块都是独立出来的。
2、在 config/view.php 添加 tpl_replace_string,属性,如下图所示:
3、清理缓存!!!【重要】
文章来源:https://www.toymoban.com/diary/thinkphp/73.html
文章来源地址 https://www.toymoban.com/diary/thinkphp/73.html
到此这篇关于 tp6 tpl_replace_string 不生效使用不了应该怎么解决?的文章就介绍到这了, 更多相关内容可以在右上角搜索或继续浏览下面的相关文章,希望大家以后多多支持 TOY 模板网!
原文地址:https://www.toymoban.com/diary/thinkphp/73.html
如若转载,请注明出处:如若内容造成侵权 / 违法违规 / 事实不符,请联系站长进行投诉反馈,一经查实,立即删除!
正文完