From 161c28dffcab78da00b6b80693ef9423c4258248 Mon Sep 17 00:00:00 2001 From: alecpl Date: Sat, 5 Sep 2009 12:31:19 +0000 Subject: - 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) --- program/include/rcube_shared.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/include/rcube_shared.inc') 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: '); } -- cgit v1.2.3