summaryrefslogtreecommitdiff
path: root/program/include/rcmail.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-11-04 07:22:17 +0000
committeralecpl <alec@alec.pl>2009-11-04 07:22:17 +0000
commit3ea30ef7ebb7aa6180a47db29575055dd97cff62 (patch)
tree4e7d8d0eb72b30806f5fa6d18edf2e1711ba164c /program/include/rcmail.php
parent1cf86b731cb04267b85150a14d4bd610e0ca0ac0 (diff)
- fix HTTPS checking (#1486273)
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r--program/include/rcmail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index 763c70889..2c002b15c 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -1063,7 +1063,7 @@ class rcmail
{
$cookie = session_get_cookie_params();
setcookie($name, $value, $exp, $cookie['path'], $cookie['domain'],
- ($_SERVER['HTTPS'] && ($_SERVER['HTTPS'] != 'off')));
+ rcube_https_check());
}
}