- 打开
/core/function/file.php
文件 - 找到
if (stripos($types, $ext) !== false)
,修改为:if (stripos($types, chr($ext)) !== false)
- 保存后重新上传附件。


分享服务器维护、抵抗入侵、防篡改、防御攻击、排查后门木马、清理挖矿病毒、网络安全、信息安全、内网安全、数据灾备、网站搬迁、程序升级、威胁情报、网站安全运维的日常知识
/core/function/file.php
文件if (stripos($types, $ext) !== false)
,修改为:
if (stripos($types, chr($ext)) !== false)