This commit is contained in:
devil_gong 2019-02-18 13:38:30 +08:00
parent bee745ff04
commit 3759d241cd
4 changed files with 117 additions and 9 deletions

View File

@ -154,6 +154,24 @@
<?php endif ?>
</td>
</tr>
<tr class="<?php if(is_writable(ROOT.'public/static/upload')){ echo 'yes'; } else { echo 'am-danger'; } ?>">
<td>./public/static/upload</td>
<td>可写</td>
<td>
<?php if (is_writable(ROOT.'public/static/upload')): ?>
可写
<?php else: ?>
不可写
<?php endif ?>
</td>
<td>
<?php if (is_writable(ROOT.'public/static/upload')): ?>
<?php else: ?>
×
<?php endif ?>
</td>
</tr>
<tr class="<?php if(is_writable(ROOT.'public/appmini/new')){ echo 'yes'; } else { echo 'am-danger'; } ?>">
<td>./public/appmini/new</td>
<td>可写</td>
@ -208,6 +226,96 @@
<?php endif ?>
</td>
</tr>
<tr class="<?php if(is_writable(ROOT.'application/tags.php')){ echo 'yes'; } else { echo 'am-danger'; } ?>">
<td>./application/tags.php</td>
<td>可写</td>
<td>
<?php if (is_writable(ROOT.'application/tags.php')): ?>
可写
<?php else: ?>
不可写
<?php endif ?>
</td>
<td>
<?php if (is_writable(ROOT.'application/tags.php')): ?>
<?php else: ?>
×
<?php endif ?>
</td>
</tr>
<tr class="<?php if(is_writable(ROOT.'application/plugins')){ echo 'yes'; } else { echo 'am-danger'; } ?>">
<td>./application/plugins</td>
<td>可写</td>
<td>
<?php if (is_writable(ROOT.'application/plugins')): ?>
可写
<?php else: ?>
不可写
<?php endif ?>
</td>
<td>
<?php if (is_writable(ROOT.'application/plugins')): ?>
<?php else: ?>
×
<?php endif ?>
</td>
</tr>
<tr class="<?php if(is_writable(ROOT.'public/static/plugins/css')){ echo 'yes'; } else { echo 'am-danger'; } ?>">
<td>./public/static/plugins/css</td>
<td>可写</td>
<td>
<?php if (is_writable(ROOT.'public/static/plugins/css')): ?>
可写
<?php else: ?>
不可写
<?php endif ?>
</td>
<td>
<?php if (is_writable(ROOT.'public/static/plugins/css')): ?>
<?php else: ?>
×
<?php endif ?>
</td>
</tr>
<tr class="<?php if(is_writable(ROOT.'public/static/plugins/js')){ echo 'yes'; } else { echo 'am-danger'; } ?>">
<td>./public/static/plugins/js</td>
<td>可写</td>
<td>
<?php if (is_writable(ROOT.'public/static/plugins/js')): ?>
可写
<?php else: ?>
不可写
<?php endif ?>
</td>
<td>
<?php if (is_writable(ROOT.'public/static/plugins/js')): ?>
<?php else: ?>
×
<?php endif ?>
</td>
</tr>
<tr class="<?php if(is_writable(ROOT.'public/static/plugins/images')){ echo 'yes'; } else { echo 'am-danger'; } ?>">
<td>./public/static/plugins/images</td>
<td>可写</td>
<td>
<?php if (is_writable(ROOT.'public/static/plugins/images')): ?>
可写
<?php else: ?>
不可写
<?php endif ?>
</td>
<td>
<?php if (is_writable(ROOT.'public/static/plugins/images')): ?>
<?php else: ?>
×
<?php endif ?>
</td>
</tr>
</table>
<h2>函数/类</h2>

View File

@ -15,7 +15,7 @@
return [
// 开发模式
'is_develop' => true,
'is_develop' => false,
// 默认编码
'default_charset' => 'utf-8',

File diff suppressed because one or more lines are too long

View File

@ -76,7 +76,7 @@ color: #555555;background:none;border-color:transparent;cursor: default;}
.goods-category-s{display: none;}
/*浮动框*/
.nav-search{top:0;left:0;width:100%;z-index:1060; margin:0px auto;background:#fff; padding-top: 5px; position: relative;}
.nav-search{top:0;left:0;width:100%;z-index:1000; margin:0px auto;background:#fff; padding-top: 5px; position: relative;}
.nav-search .logo{height:36px;width:95px; margin: 0 auto; display: -webkit-inline-box;}
.logo-big{display:none;}
.logo img{width:100%}