Merge pull request #179 from kent1D/patch-1
Error on isset for X_FORWARDED_PROTO
This commit is contained in:
commit
798f7e7681
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue