Bug #19463 ยป 9571.diff
t3lib/class.t3lib_div.php (working copy) | ||
---|---|---|
if (t3lib_div::cmpIP($_SERVER['REMOTE_ADDR'], $proxySSL)) {
|
||
$retVal = true;
|
||
} else {
|
||
$retVal = $_SERVER['SSL_SESSION_ID'] || !strcmp($_SERVER['HTTPS'],'on') || !strcmp($_SERVER['HTTPS'],'1') ? true : false; // see http://bugs.typo3.org/view.php?id=3909
|
||
$retVal = $_SERVER['SSL_SESSION_ID'] || !strcasecmp($_SERVER['HTTPS'],'on') || !strcmp($_SERVER['HTTPS'],'1') ? true : false; // see http://bugs.typo3.org/view.php?id=3909
|
||
}
|
||
break;
|
||
case '_ARRAY':
|
||
... | ... | |
}
|
||
}
|
||
?>
|
||
?>
|