1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-13 18:40:49 +01:00

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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;