summaryrefslogtreecommitdiff
path: root/program/include/rcube_shared.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-10-27 09:43:39 +0000
committeralecpl <alec@alec.pl>2009-10-27 09:43:39 +0000
commit5818e44345204e2323781adb87edcfba45e246a8 (patch)
tree523983635c190630ae8a57781e3fa1dbbba53798 /program/include/rcube_shared.inc
parentd22f4e67afd40a56db064c571310346bf7acbc55 (diff)
- Fix $_SERVER['HTTPS'] check for SSL forcing on IIS (#1486243) + fix port check
Diffstat (limited to 'program/include/rcube_shared.inc')
-rw-r--r--program/include/rcube_shared.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc
index 97314ccd1..4119f1287 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']) || rcmail::get_instance()->config->get('use_https')) {
+ if (rcube_https_check()) {
header('Pragma: ');
header('Cache-Control: ');
}