From 80df22986da61187e4bb25b2d086d26e3aa7cc58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=98=8A=E5=A4=A9?= <442384644@qq.com> Date: Tue, 6 Dec 2022 11:28:54 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=A8=8B=E5=BA=8F=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E3=80=91=E7=AE=80=E5=8C=96=E5=AE=89=E8=A3=85=E7=A8=8B=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/public/install/index.php | 52 ------------------------ crmeb/public/install/templates/step2.php | 32 --------------- 2 files changed, 84 deletions(-) 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_contentsimagettftext
proc_openpcntl_signal
pcntl_signal_dispatchpcntl_fork
pcntl_waitpcntl_alarm
重新检测