fix
This commit is contained in:
parent
dc03734a20
commit
285c970933
1 changed files with 1 additions and 1 deletions
|
@ -548,6 +548,6 @@ if (!function_exists('isSecure')) {
|
|||
function isSecure(): bool
|
||||
{
|
||||
return (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off')
|
||||
|| (!empty($_SERVER['HTTPS']) && $_SERVER['SERVER_PORT'] === 443);
|
||||
|| (!empty($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] === 443);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue