1、安装文件更新

2、内核更新
This commit is contained in:
2016-07-31 14:17:51 +08:00
parent 9da53fc969
commit 762b280d21
30 changed files with 1082 additions and 181 deletions

44
data/db.tpl Normal file
View File

@@ -0,0 +1,44 @@
<?php
// +----------------------------------------------------------------------
// | SentCMS [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.tensent.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: molong <molong@tensent.cn> <http://www.tensent.cn>
// +----------------------------------------------------------------------
return array(
// 数据库类型
'type' => 'mysql',
// 数据库连接DSN配置
'dsn' => '',
// 服务器地址
'hostname' => '[hostname]',
// 数据库名
'database' => '[database]',
// 数据库用户名
'username' => '[username]',
// 数据库密码
'password' => '[password]',
// 数据库连接端口
'hostport' => '[hostport]',
// 数据库连接参数
'params' => [],
// 数据库编码默认采用utf8
'charset' => 'utf8',
// 数据库表前缀
'prefix' => '[prefix]',
// 数据库调试模式
'debug' => false,
// 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)
'deploy' => 0,
// 数据库读写是否分离 主从式有效
'rw_separate' => false,
// 读写分离后 主服务器数量
'master_num' => 1,
// 指定从服务器序号
'slave_no' => '',
'fields_strict' => false,
// 开启自动写入时间戳字段
'auto_timestamp' => true,
);