mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
fix https_announce_url
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ if (@ini_get('output_handler') == 'ob_gzhandler' AND @ob_get_length() !== false)
|
||||
header('Content-Encoding:');
|
||||
}
|
||||
*/
|
||||
if (isset($_COOKIE["c_secure_tracker_ssl"]) && $_COOKIE["c_secure_tracker_ssl"] == base64("yeah"))
|
||||
if ((isset($_COOKIE["c_secure_tracker_ssl"]) && $_COOKIE["c_secure_tracker_ssl"] == base64("yeah")) || !empty($https_announce_urls))
|
||||
$tracker_ssl = true;
|
||||
else
|
||||
$tracker_ssl = false;
|
||||
|
||||
Reference in New Issue
Block a user