blessing-skin-server/config.example.php
2016-03-13 11:31:46 +08:00

40 lines
1.1 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/* MySQL 数据库名 */
define('DB_NAME', 'skin');
/* MySQL 数据库用户名 */
define('DB_USER', 'root');
/* MySQL 连接密码 */
define('DB_PASSWD', 'root');
/* MySQL 端口,默认 3306 */
define('DB_PORT', 3306);
/* MySQL 主机 */
define('DB_HOST', 'localhost');
/**
* 数据表前缀
*
* 如果您有在同一数据库内安装多个 Blessing Skin Server 的需求,
* 或者需要与 Authme、Discuz 等程序对接时,请为每个皮肤站设置
* 不同的数据表前缀。前缀名只能为数字、字母加下划线。
*/
define('DB_PREFIX', 'bs_');
/* 盐,用于 token 加密,修改为任意随机字符串 */
define('SALT', '9tvsh55d*s');
/* 调试模式,开启后将会显示所有错误提示 */
define('DEBUG_MODE', false);
/* 同一 IP 最大可注册账户数 */
define('REGS_PER_IP', 2);
/* 优先使用的 Json API0 为 CustomSkinLoader API, 1 为 UniSkinAPI */
define('API_TYPE', 0);
/* 站点名称,推荐英文(字体原因) */
define('SITE_TITLE', 'Blessing Skin Server');