mirror of
https://github.com/ZeroDream-CN/SakuraPanel.git
synced 2025-02-14 11:52:52 +08:00
Feature: Invitation registration
增加凭邀请码注册功能,配置文件
This commit is contained in:
parent
e72701a4c2
commit
6c881ff5c0
@ -19,7 +19,8 @@ $_config = Array(
|
||||
'register' => Array(
|
||||
/* 允许注册 */ 'enable' => true,
|
||||
/* 赠送流量 */ 'traffic' => 1024, // 1GB 流量
|
||||
/* 隧道数量 */ 'proxies' => 5
|
||||
/* 隧道数量 */ 'proxies' => 5,
|
||||
/* 需要邀请 */ 'invite' => false
|
||||
),
|
||||
|
||||
// 谷歌验证码相关配置
|
||||
@ -39,7 +40,7 @@ $_config = Array(
|
||||
),
|
||||
|
||||
// 邮件功能相关设置
|
||||
// 暂时不支持 SSL
|
||||
// 如果服务器需要 SSL,请在主机地址前面加 ssl://
|
||||
'smtp' => Array(
|
||||
/* 是否启用 */ 'enable' => true,
|
||||
/* 主机地址 */ 'host' => 'smtp.example.com',
|
||||
@ -60,4 +61,4 @@ $_config = Array(
|
||||
30000 => 31000,
|
||||
),
|
||||
),
|
||||
);
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user