From 52dbd55c7bd929b3b61173bc163ac1ce1b2df83e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tobias=20Kapp=C3=A9?= Date: Sun, 12 Aug 2018 14:54:02 +0100 Subject: [PATCH] Fix undefined index warning in installation. --- install/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/index.php b/install/index.php index f1547982..350c2f2d 100755 --- a/install/index.php +++ b/install/index.php @@ -139,7 +139,7 @@ } function is_server_https() { - return (!empty($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] != 'off')) || $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https'; + return (!empty($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] != 'off')) || (!empty($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https'); } function make_self_url_path() { -- 2.39.5