Merge pull request #288 from opensorcerer/nicetest-over-https
Allow Nice URLs when served via HTTPS
This commit is contained in:
commit
a103672a6d
@ -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