- reverted unintentional change

release-0.6
alecpl 15 years ago
parent 7d0b34db31
commit 6c5aa6b054

@ -1413,7 +1413,7 @@ function rcube_https_check($port=null, $use_https=true)
{
global $RCMAIL;
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off')
if (!empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) != 'off')
return true;
if ($port && $_SERVER['SERVER_PORT'] == $port)
return true;

Loading…
Cancel
Save