diff options
author | alecpl <alec@alec.pl> | 2009-09-05 12:31:19 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-09-05 12:31:19 +0000 |
commit | 161c28dffcab78da00b6b80693ef9423c4258248 (patch) | |
tree | 9cd2da22daa5e00b029779334fa04d865b4f5ae4 /program/include/rcube_shared.inc | |
parent | 7df0e352101c36d06e6831123be678a8a6b5077d (diff) |
- Fix wrong headers for IE on servers without $_SERVER['HTTPS'] (#1485926)
- Force IE style headers for attachments in non-HTTPS session, 'use_https' option (#1485655)
Diffstat (limited to 'program/include/rcube_shared.inc')
-rw-r--r-- | program/include/rcube_shared.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc index 91db38020..85a6105b0 100644 --- a/program/include/rcube_shared.inc +++ b/program/include/rcube_shared.inc @@ -41,7 +41,7 @@ function send_nocacheing_headers() header("Pragma: no-cache"); // We need to set the following headers to make downloads work using IE in HTTPS mode. - if (isset($_SERVER['HTTPS'])) { + if (isset($_SERVER['HTTPS']) || rcmail::get_instance()->config->get('use_https')) { header('Pragma: '); header('Cache-Control: '); } |