diff options
author | alecpl <alec@alec.pl> | 2009-11-04 07:22:17 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-11-04 07:22:17 +0000 |
commit | 3ea30ef7ebb7aa6180a47db29575055dd97cff62 (patch) | |
tree | 4e7d8d0eb72b30806f5fa6d18edf2e1711ba164c /program/include/main.inc | |
parent | 1cf86b731cb04267b85150a14d4bd610e0ca0ac0 (diff) |
- fix HTTPS checking (#1486273)
Diffstat (limited to 'program/include/main.inc')
-rw-r--r-- | program/include/main.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/main.inc b/program/include/main.inc index aa0d3fa26..258f719ce 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -1410,7 +1410,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; |