diff --git a/app/helpers.php b/app/helpers.php index c885730..c72e9f0 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -547,6 +547,7 @@ if (!function_exists('isSecure')) { */ function isSecure(): bool { - return (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') || $_SERVER['SERVER_PORT'] === 443; + return (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') + || (!empty($_SERVER['HTTPS']) && $_SERVER['SERVER_PORT'] === 443); } }