From 6c881ff5c022beb176f5922debd84e0cf911fb45 Mon Sep 17 00:00:00 2001 From: Akkariin Meiko Date: Tue, 21 Jan 2020 11:18:50 +0800 Subject: [PATCH] Feature: Invitation registration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加凭邀请码注册功能,配置文件 --- configuration.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configuration.php b/configuration.php index 6a37374..1910920 100644 --- a/configuration.php +++ b/configuration.php @@ -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, ), ), -); \ No newline at end of file +);