Przeglądaj źródła

Update code.helper.php

tags/6.2.0
tianya 3 lat temu
rodzic
commit
ba652ef7b6
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/system/helpers/code.helper.php

+ 1
- 1
src/system/helpers/code.helper.php Wyświetl plik

@@ -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];
}


Ładowanie…
Anuluj
Zapisz