diff --git a/bureau/class/config.php b/bureau/class/config.php index 6af94001..ff578321 100755 --- a/bureau/class/config.php +++ b/bureau/class/config.php @@ -167,7 +167,7 @@ $err = new m_err(); $authip = new m_authip(); $hooks = new m_hooks(); -if (!isset($_SERVER["HTTP_X_FORWARDED_PROTO"]) && $_SERVER["HTTP_X_FORWARDED_PROTO"]=="https") { +if (isset($_SERVER["HTTP_X_FORWARDED_PROTO"]) && $_SERVER["HTTP_X_FORWARDED_PROTO"]=="https") { $_SERVER["HTTPS"]="on"; }