hide https variable warning

This commit is contained in:
Shish 2013-08-05 20:10:54 +01:00
parent 097655e7f7
commit 8bbf7e2171

View File

@ -218,7 +218,7 @@ class Setup extends Extension {
$host .= ":" . $_SERVER["SERVER_PORT"];
}
}
$full = ($_SERVER["HTTPS"] ? "https://" : "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'>