From 991ed657fb8a6b0121b82be605da298e99c6a708 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Sat, 15 Jun 2024 00:53:49 +0200 Subject: [PATCH] install.php: fix https check --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index dec53bc6..44bbb085 100644 --- a/install.php +++ b/install.php @@ -690,7 +690,7 @@ if ($step == 0) { echo Element('page.html', $page); } elseif ($step == 1) { // The HTTPS check doesn't work properly when in those arrays, so let's run it here and pass along the result during the actual check. - $httpsvalue = !empty($_SERVER['HTTPS'] && $_SERVER['HTTPS'] !== 'off'); + $httpsvalue = !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off'; $page['title'] = 'Pre-installation test'; $can_exec = true;