修改pt程序nexusphp代码支持download.php强制返回rss的https地址
第55行,修改为下,把下发的http改成https就行了,这样输出也就是https了if ($_COOKIE["c_secure_tracker_ssl"] == base64("yeah"))
$tracker_ssl = true;
else
$tracker_ssl = false;
if ($tracker_ssl == true){
$ssl_torrent = "https://";
if ($https_announce_urls != "")
$base_announce_url = $https_announce_urls;
else
$base_announce_url = $announce_urls;
}
else{
$ssl_torrent = "https://";
$base_announce_url = $announce_urls;
}
页:
[1]