From ab1a9df6d37be2db464e8fd86dd203e3affd6754 Mon Sep 17 00:00:00 2001 From: Frank Hochmuth Date: Sat, 27 Apr 2024 21:49:13 +0200 Subject: [PATCH] Update defaults.php $isSecure = true; should possibly be return true; ? --- defaults.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults.php b/defaults.php index 9b9e62a8..9bee2b2a 100755 --- a/defaults.php +++ b/defaults.php @@ -188,8 +188,8 @@ function is_https() { } // HTTPS called reverse proxy / load balancer if (!empty($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https' || !empty($_SERVER['HTTP_X_FORWARDED_SSL']) && $_SERVER['HTTP_X_FORWARDED_SSL'] == 'on') { - $isSecure = true; + return true; } // none of the above: must be HTTP return false; -} \ No newline at end of file +}