Explorar el Código

检查exec是否被禁用

liangl hace 11 años
padre
commit
5b274192a3
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      workerman/Core/Lib/Checker.php

+ 1 - 0
workerman/Core/Lib/Checker.php

@@ -102,6 +102,7 @@ class Checker
                 'stream_socket_server',
                 'stream_socket_client',
                 'pcntl_signal_dispatch',
+                'exec',
         );
         // 获取php.ini中设置的禁用函数
         if($disable_func_string = ini_get("disable_functions"))