diff --git a/crmeb/public/install/index.php b/crmeb/public/install/index.php index f25ab6842..66fd9f22c 100644 --- a/crmeb/public/install/index.php +++ b/crmeb/public/install/index.php @@ -148,58 +148,6 @@ switch ($step) { '.version', '.constant', ); - //必须开启函数 - $disabled = explode(',', ini_get('disable_functions')); - - - if (function_exists('file_put_contents')) { - $file_put_contents = '√ 启用'; - } else { - $file_put_contents = '√ 禁用'; - $err++; - } - if (function_exists('imagettftext')) { - $imagettftext = '√ 启用'; - } else { - $imagettftext = '√ 禁用'; - $err++; - } - if (!in_array('proc_open', $disabled)) { - $proc_open = '√ 启用'; - } else { - $proc_open = '√ 禁用'; - $err++; - } - if (!in_array('pcntl_signal', $disabled)) { - $pcntl_signal = '√ 启用'; - } else { - $pcntl_signal = '√ 禁用'; - $err++; - } - if (!in_array('pcntl_signal_dispatch', $disabled)) { - $pcntl_signal_dispatch = '√ 启用'; - } else { - $pcntl_signal_dispatch = '√ 禁用'; - $err++; - } - if (!in_array('pcntl_fork', $disabled)) { - $pcntl_fork = '√ 启用'; - } else { - $pcntl_fork = '√ 禁用'; - $err++; - } - if (!in_array('pcntl_wait', $disabled)) { - $pcntl_wait = '√ 启用'; - } else { - $pcntl_wait = '√ 禁用'; - $err++; - } - if (!in_array('pcntl_alarm', $disabled)) { - $pcntl_alarm = '√ 启用'; - } else { - $pcntl_alarm = '√ 禁用'; - $err++; - } include_once("./templates/step2.php"); exit(); diff --git a/crmeb/public/install/templates/step2.php b/crmeb/public/install/templates/step2.php index 8aff64383..09454b8d6 100644 --- a/crmeb/public/install/templates/step2.php +++ b/crmeb/public/install/templates/step2.php @@ -172,38 +172,6 @@ -
| 函数检测必须开启 | -当前状态 | -函数检测必须开启 | -当前状态 | -
| file_put_contents | -- | imagettftext | -- |
| proc_open | -- | pcntl_signal | -- |
| pcntl_signal_dispatch | -- | pcntl_fork | -- |
| pcntl_wait | -- | pcntl_alarm | -- |