Merge pull request #228 from WGH-/installer_undefined_index
fixes "undefined index HTTPS" notice in installer script
This commit is contained in:
commit
17ca9c640a
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function make_self_url_path() {
|
function make_self_url_path() {
|
||||||
$url_path = ($_SERVER['HTTPS'] != "on" ? 'http://' : 'https://') . $_SERVER["HTTP_HOST"] . parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
|
$url_path = ((!isset($_SERVER['HTTPS']) || $_SERVER['HTTPS'] != "on") ? 'http://' : 'https://') . $_SERVER["HTTP_HOST"] . parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
|
||||||
|
|
||||||
return $url_path;
|
return $url_path;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue