Add files via upload

This commit is contained in:
Last
2018-11-15 17:33:22 +08:00
committed by GitHub
commit 48d2a16d5f
14 changed files with 195 additions and 0 deletions

17
z_top/install.php Normal file
View File

@@ -0,0 +1,17 @@
<?php
/*
使用setting加速缓存存储设置项,似乎安装时要先创建一个setting?
默认值设置为2吧..
lalala...
*/
!defined('DEBUG') AND exit('Forbidden');
$setting = setting_get('z_top_setting');
if(empty($setting)) {
$setting = array('body_start'=>'2');
setting_set('z_top_setting', $setting);
}
?>