diff --git a/inc/core/lib/functions.php b/inc/core/lib/functions.php index 89f9bc4..5bd31d9 100644 --- a/inc/core/lib/functions.php +++ b/inc/core/lib/functions.php @@ -222,6 +222,7 @@ function url($data = null) if ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') || isset_or($_SERVER['SERVER_PORT'], null) == 443 || isset_or($_SERVER['HTTP_X_FORWARDED_PORT'], null) == 443 + || isset_or($_SERVER['HTTP_X_FORWARDED_PROTO'], null) == 'https' ) { $protocol = 'https://'; } else {