mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
【程序目录】简化安装程序
This commit is contained in:
parent
49be6bc5cb
commit
80df22986d
@ -148,58 +148,6 @@ switch ($step) {
|
||||
'.version',
|
||||
'.constant',
|
||||
);
|
||||
//必须开启函数
|
||||
$disabled = explode(',', ini_get('disable_functions'));
|
||||
|
||||
|
||||
if (function_exists('file_put_contents')) {
|
||||
$file_put_contents = '<span class="correct_span">√</span> 启用';
|
||||
} else {
|
||||
$file_put_contents = '<span class="correct_span error_span">√</span> 禁用';
|
||||
$err++;
|
||||
}
|
||||
if (function_exists('imagettftext')) {
|
||||
$imagettftext = '<span class="correct_span">√</span> 启用';
|
||||
} else {
|
||||
$imagettftext = '<span class="correct_span error_span">√</span> 禁用';
|
||||
$err++;
|
||||
}
|
||||
if (!in_array('proc_open', $disabled)) {
|
||||
$proc_open = '<span class="correct_span">√</span> 启用';
|
||||
} else {
|
||||
$proc_open = '<span class="correct_span error_span">√</span> 禁用';
|
||||
$err++;
|
||||
}
|
||||
if (!in_array('pcntl_signal', $disabled)) {
|
||||
$pcntl_signal = '<span class="correct_span">√</span> 启用';
|
||||
} else {
|
||||
$pcntl_signal = '<span class="correct_span error_span">√</span> 禁用';
|
||||
$err++;
|
||||
}
|
||||
if (!in_array('pcntl_signal_dispatch', $disabled)) {
|
||||
$pcntl_signal_dispatch = '<span class="correct_span">√</span> 启用';
|
||||
} else {
|
||||
$pcntl_signal_dispatch = '<span class="correct_span error_span">√</span> 禁用';
|
||||
$err++;
|
||||
}
|
||||
if (!in_array('pcntl_fork', $disabled)) {
|
||||
$pcntl_fork = '<span class="correct_span">√</span> 启用';
|
||||
} else {
|
||||
$pcntl_fork = '<span class="correct_span error_span">√</span> 禁用';
|
||||
$err++;
|
||||
}
|
||||
if (!in_array('pcntl_wait', $disabled)) {
|
||||
$pcntl_wait = '<span class="correct_span">√</span> 启用';
|
||||
} else {
|
||||
$pcntl_wait = '<span class="correct_span error_span">√</span> 禁用';
|
||||
$err++;
|
||||
}
|
||||
if (!in_array('pcntl_alarm', $disabled)) {
|
||||
$pcntl_alarm = '<span class="correct_span">√</span> 启用';
|
||||
} else {
|
||||
$pcntl_alarm = '<span class="correct_span error_span">√</span> 禁用';
|
||||
$err++;
|
||||
}
|
||||
include_once("./templates/step2.php");
|
||||
exit();
|
||||
|
||||
|
||||
@ -172,38 +172,6 @@
|
||||
|
||||
|
||||
</table>
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td class="td1" width="25%">函数检测必须开启</td>
|
||||
<td class="td1" width="25%">当前状态</td>
|
||||
<td class="td1" width="25%">函数检测必须开启</td>
|
||||
<td class="td1" width="25%">当前状态</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>file_put_contents</td>
|
||||
<td><?php echo $file_put_contents; ?></td>
|
||||
<td>imagettftext</td>
|
||||
<td><?php echo $imagettftext; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>proc_open</td>
|
||||
<td><?php echo $proc_open; ?></td>
|
||||
<td>pcntl_signal</td>
|
||||
<td><?php echo $pcntl_signal; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>pcntl_signal_dispatch</td>
|
||||
<td><?php echo $pcntl_signal_dispatch; ?></td>
|
||||
<td>pcntl_fork</td>
|
||||
<td><?php echo $pcntl_fork; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>pcntl_wait</td>
|
||||
<td><?php echo $pcntl_wait; ?></td>
|
||||
<td>pcntl_alarm</td>
|
||||
<td><?php echo $pcntl_alarm; ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="bottom tac">
|
||||
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?step=2" class="btn">重新检测</a>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user