use current protocol for niceurl test, see #632
This commit is contained in:
parent
9d3f4ea4b3
commit
fc6fb3c6b8
@ -233,7 +233,7 @@ class Setup extends Extension {
|
||||
$host .= ":" . $_SERVER["SERVER_PORT"];
|
||||
}
|
||||
}
|
||||
$full = (@$_SERVER["HTTPS"] ? "https://" : "http://") . $host . $_SERVER["PHP_SELF"];
|
||||
$full = "//" . $host . $_SERVER["PHP_SELF"];
|
||||
$test_url = str_replace("/index.php", "/nicetest", $full);
|
||||
|
||||
$nicescript = "<script type='text/javascript'>
|
||||
|
@ -1,8 +0,0 @@
|
||||
function getHTTPObject() {
|
||||
if (window.XMLHttpRequest){
|
||||
return new XMLHttpRequest();
|
||||
}
|
||||
else if(window.ActiveXObject){
|
||||
return new ActiveXObject("Microsoft.XMLHTTP");
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user