From 8bbf7e21715d4451a1f17f214f01ca30fe1eaf66 Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 5 Aug 2013 20:10:54 +0100 Subject: [PATCH] hide https variable warning --- ext/setup/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/setup/main.php b/ext/setup/main.php index 010b0807..e9fc3249 100644 --- a/ext/setup/main.php +++ b/ext/setup/main.php @@ -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 = "