mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-01-04 19:08:13 +00:00
移动安装目录,支持根目录index.php访问,也可以像tp5一样只对外开放crmeb一个目录
This commit is contained in:
parent
8031b5999f
commit
564b1ae192
@ -106,35 +106,7 @@
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td>application/database.php</td>
|
||||
<td>读写</td>
|
||||
<?php
|
||||
if (is_writable(SITEDIR.'application/database.php')){
|
||||
echo "<td><span class='correct_span'>√</span>可写 </td>
|
||||
<td><span class='correct_span'>√</span>可读</td>";
|
||||
}else{
|
||||
$err++;
|
||||
echo "<td><span class='correct_span error_span'>√</span>不可写 </td>
|
||||
<td><span class='correct_span error_span'>√</span>不可读</td>";
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>application/config.php</td>
|
||||
<td>读写</td>
|
||||
<?php
|
||||
if (is_writable(SITEDIR.'application/config.php')){
|
||||
echo "<td><span class='correct_span'>√</span>可写 </td>
|
||||
<td><span class='correct_span'>√</span>可读</td>";
|
||||
}else{
|
||||
$err++;
|
||||
echo "<td><span class='correct_span error_span'>√</span>不可写 </td>
|
||||
<td><span class='correct_span error_span'>√</span>不可读</td>";
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
?>
|
||||
</table>
|
||||
<table width="100%">
|
||||
<tr>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user