正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -516,7 +516,7 @@ function isAiAutoMail($from,$subject,$body='',$return_keyword=false){ | @@ -516,7 +516,7 @@ function isAiAutoMail($from,$subject,$body='',$return_keyword=false){ | ||
| 516 | foreach ($temp(1) as $f){ | 516 | foreach ($temp(1) as $f){ |
| 517 | list($t,$str) = $f; | 517 | list($t,$str) = $f; |
| 518 | $haystack = $haystacks[$t]??''; | 518 | $haystack = $haystacks[$t]??''; |
| 519 | - if($haystack && $str && stripos($haystack,$str)!==false){ | 519 | + if($haystack && $str && mb_stripos($haystack,$str)!==false){ |
| 520 | return 0; | 520 | return 0; |
| 521 | } | 521 | } |
| 522 | } | 522 | } |
| @@ -525,7 +525,7 @@ function isAiAutoMail($from,$subject,$body='',$return_keyword=false){ | @@ -525,7 +525,7 @@ function isAiAutoMail($from,$subject,$body='',$return_keyword=false){ | ||
| 525 | foreach ($temp() as $f){ | 525 | foreach ($temp() as $f){ |
| 526 | list($t,$str) = $f; | 526 | list($t,$str) = $f; |
| 527 | $haystack = $haystacks[$t]??''; | 527 | $haystack = $haystacks[$t]??''; |
| 528 | - if($haystack && $str && stripos($haystack,$str)!==false){ | 528 | + if($haystack && $str && mb_stripos($haystack,$str)!==false){ |
| 529 | if($return_keyword){ | 529 | if($return_keyword){ |
| 530 | return $str; | 530 | return $str; |
| 531 | } | 531 | } |
-
请 注册 或 登录 后发表评论