修改客户端下载链接

dev
GeekQu 7 years ago
parent e9fa797b25
commit 60e82fc07f

@ -53,7 +53,8 @@ class Config
'auto_detect_ban_type' => self::get('auto_detect_ban_type'), 'auto_detect_ban_type' => self::get('auto_detect_ban_type'),
'auto_detect_ban_number' => self::get('auto_detect_ban_number'), 'auto_detect_ban_number' => self::get('auto_detect_ban_number'),
'auto_detect_ban_time' => self::get('auto_detect_ban_time'), 'auto_detect_ban_time' => self::get('auto_detect_ban_time'),
'auto_detect_ban' => self::get('auto_detect_ban') 'auto_detect_ban' => self::get('auto_detect_ban'),
'subscribe_client' => self::get('subscribe_client')
]; ];
} }

@ -304,6 +304,7 @@ $_ENV['mu_port_migration'] = 'false'; //为后端直接下发偏移后的
$_ENV['relay_port_migration'] = 'false'; //为中转规则下发偏移后的端口,此项未经测试 $_ENV['relay_port_migration'] = 'false'; //为中转规则下发偏移后的端口,此项未经测试
$_ENV['add_emoji_to_node_name'] = 'false'; //为部分订阅中默认添加 emoji $_ENV['add_emoji_to_node_name'] = 'false'; //为部分订阅中默认添加 emoji
$_ENV['add_appName_to_ss_uri'] = 'true'; //为 SS 节点名称中添加站点名 $_ENV['add_appName_to_ss_uri'] = 'true'; //为 SS 节点名称中添加站点名
$_ENV['subscribe_client'] = 'false'; //下载协议客户端时附带节点和订阅信息
// 审计自动封禁开关 // 审计自动封禁开关
$_ENV['enable_auto_detect_ban'] = 'false'; $_ENV['enable_auto_detect_ban'] = 'false';

@ -413,7 +413,7 @@ table tr td:first-child {
</div> </div>
<div class="tab-pane fade" id="sub_center_windows"> <div class="tab-pane fade" id="sub_center_windows">
<p><span class="icon icon-lg text-white">filter_1</span> <a class="btn-dl" href="https://github.com/CGDF-Github/SSD-Windows/releases"><i class="material-icons">save_alt</i> 下载</a> SSD - [ SS ]:</p> <p><span class="icon icon-lg text-white">filter_1</span> <a class="btn-dl" href="{if $config["subscribe_client"]=='true'}/user/getPcClient?type=ssd-win{else}https://github.com/CGDF-Github/SSD-Windows/releases{/if}"><i class="material-icons">save_alt</i> 下载</a> SSD - [ SS ]:</p>
<p>教程文档:<a class="btn-dl" href="/doc/#/Windows/ShadowsocksD"><i class="material-icons icon-sm">how_to_vote</i>点击查看</a></p> <p>教程文档:<a class="btn-dl" href="/doc/#/Windows/ShadowsocksD"><i class="material-icons icon-sm">how_to_vote</i>点击查看</a></p>
<p>使用方式:<a class="copy-text btn-dl" data-clipboard-text="{$subInfo["ssd"]}"><i class="material-icons icon-sm">how_to_vote</i>拷贝链接</a>.<a id="win_ssd" class="copy-config btn-dl" onclick=Copyconfig("/user/getUserAllURL?type=ssd","#win_ssd","")><i class="material-icons icon-sm">how_to_vote</i>全部 URL</a></p> <p>使用方式:<a class="copy-text btn-dl" data-clipboard-text="{$subInfo["ssd"]}"><i class="material-icons icon-sm">how_to_vote</i>拷贝链接</a>.<a id="win_ssd" class="copy-config btn-dl" onclick=Copyconfig("/user/getUserAllURL?type=ssd","#win_ssd","")><i class="material-icons icon-sm">how_to_vote</i>全部 URL</a></p>
<hr/> <hr/>

Loading…
Cancel
Save