优化URL获取的代码结构

This commit is contained in:
iyuu.cn 2020-05-01 09:43:23 +08:00
parent 4444aec4fb
commit cc50804b40

View File

@ -724,13 +724,11 @@ class AutoReseed
}
$url = $_url."&passkey=". $configALL[$site]['passkey'] . $ip_type. "&https=1";
break;
case 'ccfbits':
$url = str_replace('{passkey}', $configALL[$site]['passkey'], $_url);
break;
case 'dicmusic':
$_url = str_replace('{torrent_pass}', $configALL[$site]['passkey'], $_url);
$url = str_replace('{authkey}', $configALL[$site]['authkey'], $_url);
break;
case 'ccfbits':
case 'hdroute':
$url = str_replace('{passkey}', $configALL[$site]['passkey'], $_url);
break;