Use ['HTTPS'] to construct the nicetest URL, allowing Shimmie to use nice URLs when served over HTTPS
This commit is contained in:
parent
8d77d251a5
commit
861e04d85f
@ -218,7 +218,7 @@ class Setup extends Extension {
|
||||
$host .= ":" . $_SERVER["SERVER_PORT"];
|
||||
}
|
||||
}
|
||||
$full = "http://" . $host . $_SERVER["PHP_SELF"];
|
||||
$full = ($_SERVER["HTTPS"] ? "https://" : "http://") . $host . $_SERVER["PHP_SELF"];
|
||||
$test_url = str_replace("/index.php", "/nicetest", $full);
|
||||
|
||||
$nicescript = "<script language='javascript'>
|
||||
|
Loading…
x
Reference in New Issue
Block a user