- 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; global $RCMAIL;
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') if (!empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) != 'off')
return true; return true;
if ($port && $_SERVER['SERVER_PORT'] == $port) if ($port && $_SERVER['SERVER_PORT'] == $port)
return true; return true;

Loading…
Cancel
Save