install.php: fix https check

This commit is contained in:
Zankaria
2024-06-15 00:53:49 +02:00
committed by GitHub
parent ad532d1d2d
commit 991ed657fb

View File

@@ -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;