移动安装目录,支持根目录index.php访问,也可以像tp5一样只对外开放crmeb一个目录

This commit is contained in:
xurongyao 2018-09-15 10:36:11 +08:00
parent 564b1ae192
commit 330fbbafb3
2 changed files with 12 additions and 0 deletions

View File

@ -118,6 +118,13 @@ switch ($step) {
$file_put_contents = '<font color=red>[×]不支持</font>';
$err++;
}
if(function_exists('bcadd')){
$bcadd = '<font color=green>[√]支持</font> ';
}else{
$bcadd= '<font color=red>[×]不支持</font>';
$err++;
}
$folder = array(
'install',

View File

@ -126,6 +126,11 @@
<td>建议开启</td>
<td><?php echo $file_put_contents; ?></td>
<td>--</td>
</tr> <tr>
<td>bcadd</td>
<td>建议开启</td>
<td><?php echo $bcadd; ?></td>
<td>--</td>
</tr>
</table>
</div>