|
|
|
|
@ -24,7 +24,7 @@ $System_Config['key'] = '1145141919810'; //!!! 瞎 jb 修改此key为随机
|
|
|
|
|
$System_Config['debug'] = 'false'; //正式环境请确保为 false
|
|
|
|
|
$System_Config['appName'] = 'sspanel'; //站点名称
|
|
|
|
|
$System_Config['baseUrl'] = 'http://url.com'; //站点地址
|
|
|
|
|
$System_Config['subUrl'] = $System_Config['baseUrl'].'/link/'; //订阅地址
|
|
|
|
|
$System_Config['subUrl'] = $System_Config['baseUrl'].'/link/'; //订阅地址,如需和站点名称相同,请不要修改
|
|
|
|
|
$System_Config['appStartTime'] = '2018'; //站点成立时间,显示在页脚 copyright 部分
|
|
|
|
|
$System_Config['muKey'] = 'NimaQu'; //用于校验ss-go mu的请求,可以随意修改,但请保持前后端一致
|
|
|
|
|
$System_Config['db_driver'] = 'mysql'; //数据库程序
|
|
|
|
|
@ -151,50 +151,28 @@ $System_Config['admin_contact3'] = '微信~123456'; //没有格式要求,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//验证码设置------------------------------------------------------------------------------------------
|
|
|
|
|
$System_Config['captcha_provider'] = 'geetest'; //recaptcha:[https://www.google.com/recaptcha], geetest:[https://www.geetest.com]
|
|
|
|
|
$System_Config['recaptcha_secret'] = '';
|
|
|
|
|
|
|
|
|
|
$System_Config['captcha_provider'] = 'recaptcha'; //取值 recaptcha | geetest(极验)
|
|
|
|
|
|
|
|
|
|
$System_Config['recaptcha_sitekey'] = '';
|
|
|
|
|
$System_Config['recaptcha_secret'] = '';
|
|
|
|
|
|
|
|
|
|
$System_Config['geetest_id'] = '';
|
|
|
|
|
$System_Config['geetest_key'] = '';
|
|
|
|
|
|
|
|
|
|
$System_Config['enable_reg_captcha'] = 'false'; //启用注册验证码
|
|
|
|
|
$System_Config['enable_login_captcha'] = 'false'; //启用登录验证码
|
|
|
|
|
$System_Config['enable_checkin_captcha'] = 'false'; //启用签到验证码
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//支付系统设置----------------------------------------------------------------------------------------
|
|
|
|
|
#取值 none | codepay | doiampay | trimepay | f2fpay | yftpay | chenAlipay | paymentwall | spay | f2fpay_codepay
|
|
|
|
|
#取值 none | codepay | trimepay | f2fpay | yftpay | chenAlipay | paymentwall | spay | f2fpay_codepay
|
|
|
|
|
$System_Config['payment_system']='none';
|
|
|
|
|
|
|
|
|
|
#codepay码支付
|
|
|
|
|
#wiki地址:https://goo.gl/dRwRDi http://t.cn/RnsWjtB
|
|
|
|
|
$System_Config['codepay_id']=''; //码支付ID
|
|
|
|
|
$System_Config['codepay_key']=''; //码支付通信密钥
|
|
|
|
|
|
|
|
|
|
#doiampay,https://www.daimiyun.cn/register.php?aff=624
|
|
|
|
|
$System_Config['doiampay']=[
|
|
|
|
|
'enabled' => [
|
|
|
|
|
'wepay'=>1, // 微信支付1 启用 0 关闭
|
|
|
|
|
'alipay'=>1, // 支付宝1 启用 0 关闭
|
|
|
|
|
'qqpay'=>1, // QQ支付1 启用 0 关闭
|
|
|
|
|
],
|
|
|
|
|
'mchdata' => [
|
|
|
|
|
'wepay'=>[
|
|
|
|
|
'mchid' => 188888888, // 商户号
|
|
|
|
|
'phone' => 18888888888, //手机号
|
|
|
|
|
'token' => "example" //安全验证码
|
|
|
|
|
],
|
|
|
|
|
'alipay'=>[
|
|
|
|
|
'mchid' => 188888888, // 商户号
|
|
|
|
|
'phone' => 188888888, //手机号
|
|
|
|
|
'token' => "188888888" // 安全验证码
|
|
|
|
|
],
|
|
|
|
|
'qqpay'=>[
|
|
|
|
|
'mchid' => 188888888, // 商户号
|
|
|
|
|
'phone' => 188888888, //手机号
|
|
|
|
|
'token' => "188888888" // 安全验证码
|
|
|
|
|
],
|
|
|
|
|
]
|
|
|
|
|
];
|
|
|
|
|
$System_Config['codepay_id']=''; //码支付ID
|
|
|
|
|
$System_Config['codepay_key']=''; //码支付通信密钥
|
|
|
|
|
|
|
|
|
|
#alipay,f2fpay
|
|
|
|
|
$System_Config['f2fpay_app_id']='';
|
|
|
|
|
@ -222,9 +200,9 @@ $System_Config['zfbjk_pid']='';
|
|
|
|
|
$System_Config['zfbjk_key']='';
|
|
|
|
|
$System_Config['zfbjk_qrcodeurl']='';
|
|
|
|
|
|
|
|
|
|
#Trimepay https://portal.trimepay.com
|
|
|
|
|
$System_Config['trimepay_appid']=''; //AppID
|
|
|
|
|
$System_Config['trimepay_secret']=''; //AppSecret
|
|
|
|
|
#Trimepay https://portal.trimepay.com/#/auth/register/134
|
|
|
|
|
$System_Config['trimepay_appid']=''; //AppID
|
|
|
|
|
$System_Config['trimepay_secret']=''; //AppSecret
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//其他面板显示设置------------------------------------------------------------------------------------------
|
|
|
|
|
@ -266,18 +244,18 @@ $System_Config['v2ray_level']='0';
|
|
|
|
|
#杂项
|
|
|
|
|
$System_Config['enable_login_bind_ip']='false'; //是否将登陆线程和IP绑定
|
|
|
|
|
$System_Config['authDriver'] = 'cookie'; //不能更改此项
|
|
|
|
|
$System_Config['salt'] = ''; // 密码加密用,请留空
|
|
|
|
|
$System_Config['sessionDriver'] = 'cookie'; // 可选: cookie,redis
|
|
|
|
|
$System_Config['cacheDriver'] = 'cookie'; // 可选: cookie,redis
|
|
|
|
|
$System_Config['tokenDriver'] = 'db'; // 可选: db,redis
|
|
|
|
|
$System_Config['salt'] = ''; //密码加密用,请留空
|
|
|
|
|
$System_Config['sessionDriver'] = 'cookie'; //可选: cookie,redis
|
|
|
|
|
$System_Config['cacheDriver'] = 'cookie'; //可选: cookie,redis
|
|
|
|
|
$System_Config['tokenDriver'] = 'db'; //可选: db,redis
|
|
|
|
|
$System_Config['jump_delay']='1200'; //跳转延时,单位ms,不建议太长
|
|
|
|
|
$System_Config['theme'] = 'material'; // 主题
|
|
|
|
|
$System_Config['theme'] = 'material'; //主题
|
|
|
|
|
$System_Config['pacp_offset']='-20000'; //VPN 端口偏移
|
|
|
|
|
$System_Config['pacpp_offset']='-20000';
|
|
|
|
|
$System_Config['Speedtest_duration']='6'; //显示多长时间的测速记录
|
|
|
|
|
$System_Config['login_warn']='false'; //异地登陆提示
|
|
|
|
|
$System_Config['timeZone'] = 'PRC'; // PRC 天朝时间 UTC 格林时间
|
|
|
|
|
$System_Config['pwdMethod'] = 'sha256'; // 密码加密 可选 md5,sha256
|
|
|
|
|
$System_Config['timeZone'] = 'PRC'; //PRC 天朝时间 UTC 格林时间
|
|
|
|
|
$System_Config['pwdMethod'] = 'sha256'; //密码加密 可选 md5,sha256
|
|
|
|
|
$System_Config['db_charset'] = 'utf8';
|
|
|
|
|
$System_Config['db_collation'] = 'utf8_general_ci';
|
|
|
|
|
$System_Config['db_prefix'] = '';
|
|
|
|
|
@ -294,18 +272,18 @@ $System_Config['redis_database'] = '0';
|
|
|
|
|
$System_Config['redis_password']="";
|
|
|
|
|
|
|
|
|
|
#Radius设置
|
|
|
|
|
$System_Config['enable_radius']='false'; //是否开启Radius
|
|
|
|
|
$System_Config['radius_db_host']=''; //以下4项为Radius数据库设置
|
|
|
|
|
$System_Config['enable_radius']='false'; //是否开启Radius
|
|
|
|
|
$System_Config['radius_db_host']=''; //以下4项为Radius数据库设置
|
|
|
|
|
$System_Config['radius_db_database']='';
|
|
|
|
|
$System_Config['radius_db_user']='';
|
|
|
|
|
$System_Config['radius_db_password']='';
|
|
|
|
|
$System_Config['radius_secret']=''; //Radius连接密钥
|
|
|
|
|
$System_Config['radius_secret']=''; //Radius连接密钥
|
|
|
|
|
|
|
|
|
|
#Cloudxns
|
|
|
|
|
$System_Config['enable_cloudxns']='false'; //是否开启Cloudxns
|
|
|
|
|
$System_Config['cloudxns_apikey']=''; //自己去 cloudxns.net 申请
|
|
|
|
|
$System_Config['enable_cloudxns']='false'; //是否开启Cloudxns
|
|
|
|
|
$System_Config['cloudxns_apikey']=''; //自己去 cloudxns.net 申请
|
|
|
|
|
$System_Config['cloudxns_apisecret']='';
|
|
|
|
|
$System_Config['cloudxns_domain']='zhaoj.in'; //你的域名
|
|
|
|
|
$System_Config['cloudxns_domain']='zhaoj.in'; //你的域名
|
|
|
|
|
|
|
|
|
|
#Cloudflare
|
|
|
|
|
$System_Config['cloudflare_enable']='false'; //是否开启 Cloudflare 解析
|
|
|
|
|
|