소스 검색

Update code.helper.php

tags/6.2.0
tianya 3 년 전
부모
커밋
ba652ef7b6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      src/system/helpers/code.helper.php

+ 1
- 1
src/system/helpers/code.helper.php 파일 보기

@@ -420,7 +420,7 @@ function checkCode($code)
$id = token_name($token[0]);
switch ($id) {
case ('T_STRING'):
if (in_array($token[1], $allowedCalls) === false) {
if (in_array(strtolower($token[1]), $allowedCalls) === false) {
$errors[$i]['name'] = 'Illegal function: ' . $token[1];
$errors[$i]['line'] = $token[2];
}


불러오는 중...
취소
저장