PbootCMS附件上传报错UNKNOW: Code: 8192; Desc: stripos()

image

解决方法:

打开/core/function/file.php,找到以下代码:

 

if (stripos($types, $ext) !== false)

改为如下代码:

 

if (stripos($types, chr($ext)) !== false)

 

posted @ 2026-03-11 10:34  可有仙子迎风立  阅读(13)  评论(0)    收藏  举报