This commit is contained in:
taoser 2021-07-22 15:41:05 +08:00
parent a34775c64a
commit 4206ca56d7
2 changed files with 2 additions and 15 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
/.idea
/.vscode
/data
*.log
.env

View File

@ -68,20 +68,6 @@
<?php else: ?> ×
<?php endif ?>
</td>
</tr>
<tr>
<td>data</td>
<td>可写</td>
<td>
<?php if (is_writable('../data')): ?> 可写
<?php else: ?> 不可写
<?php endif ?>
</td>
<td class="<?php if(is_writable('../data'))echo 'yes'; ?>">
<?php if (is_writable('../data')): ?>
<?php else: ?> ×
<?php endif ?>
</td>
</tr>
<tr>
<td>public</td>
@ -136,7 +122,7 @@
</div>
<script>
function testClick() {
if ($('.yes').length != 8) {
if ($('.yes').length != 7) {
alert('您的配置或权限不符合要求');
} else {
location.href = '{:url('index/create')}';