xiuno_plugin/z_top/install.php
2018-11-15 17:33:22 +08:00

17 lines
340 B
PHP

<?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);
}
?>