diff --git a/app/helpers.php b/app/helpers.php index c72e9f0..de2abe2 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -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); } }