You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.
To check if it is https,
$_SERVER['SERVER_PROTOCOL']
is used.On my server (Apache, PHP7.2) this will return
HTTP/2.0
even if I am using https.Config.php Line 35.
I think, this should be:
$protocol = stripos($_SERVER['REQUEST_SCHEME'], 'https') !== false ? 'https' : 'http';
or
$protocol = $_SERVER['HTTPS'] === 'on' ? 'https' : 'http';
But will definitively not work with $_SERVER['SERVER_PROTOCOL']
The text was updated successfully, but these errors were encountered: