1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-20 20:51:50 +01:00

Merge pull request #764 from Zankaria/patch-1

install.php: fix https check
This commit is contained in:
Lorenzo Yario 2024-06-20 03:40:13 -07:00 committed by GitHub
commit 8d37f1dd2c
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;