Explorar el Código

Update code.helper.php

tags/6.2.0
tianya hace 3 años
padre
commit
ba652ef7b6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/system/helpers/code.helper.php

+ 1
- 1
src/system/helpers/code.helper.php Ver fichero

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


Cargando…
Cancelar
Guardar