discuz 3.4 安装提示324行错误

Deprecated: Array and string offset access syntax with curly braces is deprecated in /www/wwwroot/dz

324行代码

if(strpos($tablepre, '.') !== false || intval($tablepre{0})) 

修改后为

if(strpos($tablepre, '.') !== false || intval($tablepre[0])) 

{0} 改为 [0]

 

posted on 2021-01-06 11:08  shabake  阅读(136)  评论(0编辑  收藏  举报

导航