Open RealAngeleno opened 4 months ago
For convenience, it was the addition of
//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.
if (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') {
$httpsvalue = true;
}
right after "elseif ($step == 1)"
and
array(
'category' => 'Misc',
'name' => 'HTTPS being used',
'result' => $httpsvalue = true,
'required' => false,
'message' => 'You are not currently using https for vichan, or at least for your backend server. If this intentional, add "$config[\'cookies\'][\'secure_login_only\'] = 0;" (or 1 if using a proxy) on a new line under "Additional configuration" on the next page.'
),
I also added a check for https, but did a direct commit without thinking about it too much.