小樱 发表于 2019/7/13 16:33

修改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]
查看完整版本: 修改pt程序nexusphp代码支持download.php强制返回rss的https地址