diff options
author | alecpl <alec@alec.pl> | 2009-11-10 11:04:10 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-11-10 11:04:10 +0000 |
commit | 6c5aa6b054f827c444b21c400424396e7d082888 (patch) | |
tree | b963f70a3a84f57a3a0ae71d71800dee3f6d92ef /program | |
parent | 7d0b34db310042ef624a06118380f2a099096f08 (diff) |
- reverted unintentional change
Diffstat (limited to 'program')
-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 7466be7c3..bf6fd7b62 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -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; |