N°3668 - URL direct error: renamed trust_proxies<-behind_reverse_proxy

This commit is contained in:
odain
2021-03-15 14:56:16 +01:00
parent 5d0c61178b
commit 386c90c601
4 changed files with 7 additions and 7 deletions

View File

@@ -783,7 +783,7 @@ class utils
}
/**
* @return bool The boolean value of the conf. "trust_proxies" (except if there is no REMOTE_ADDR int his case, it return false)
* @return bool The boolean value of the conf. "behind_reverse_proxy" (except if there is no REMOTE_ADDR int his case, it return false)
*
* @since 2.7.4
*/
@@ -793,7 +793,7 @@ class utils
return false;
}
$bTrustProxies = (bool) self::GetConfig()->Get('trust_proxies');
$bTrustProxies = (bool) self::GetConfig()->Get('behind_reverse_proxy');
return $bTrustProxies;
}