소스 검색

yunqi test 5

zz 6 년 전
부모
커밋
41ed249540
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Http/Middleware/ReadOauth.php

+ 1 - 1
app/Http/Middleware/ReadOauth.php

@@ -937,7 +937,7 @@ class ReadOauth
     {
         $limit_area = ['上海', '北京','杭州'];
         foreach ($limit_area as $a) {
-            if (strpos($area, $a) === true) {
+            if (mb_strpos($area, $a) === true) {
                 return 'DISABLED';
             }
         }