多语言展示
当前在线:1607今日阅读:23今日分享:25

thinkcmf升级教程

今天我就来简单的介绍一下thinkcmf升级教程
方法/步骤
1

php版本要求提升到5.6

2

如果你项目中不需要用到phpoffice/phpspreadsheet

3

且php无法升级到5.6,可以运行composer remove phpoffice/phpspreadsheet删除第三方库

4

规范控制器_initialize方法为initialize调整cmf_theme_path,cmf_default_theme,cmf_admin_theme_path,cmf_admin_default_theme到 template 配置下

5

hook,hook_one方法取消$extra参数

6

希望我的经验对你有所帮助

推荐信息