alecpl
2009-11-04 3ea30ef7ebb7aa6180a47db29575055dd97cff62
program/include/main.inc
@@ -1410,7 +1410,7 @@
{
  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;