fix tracker url and takeinvite.php

This commit is contained in:
xiaomlove
2021-02-28 02:47:13 +08:00
parent 9d6f25670a
commit 3bf4b83826
5 changed files with 21 additions and 11 deletions
+3
View File
@@ -2715,6 +2715,9 @@ function set_langfolder_cookie($folder, $expires = 0x7fffffff)
function get_protocol_prefix()
{
global $securelogin;
if (isHttps()) {
return "https://";
}
if ($securelogin == "yes") {
return "https://";
} elseif ($securelogin == "no") {