From 6c5aa6b054f827c444b21c400424396e7d082888 Mon Sep 17 00:00:00 2001 From: alecpl Date: Tue, 10 Nov 2009 11:04:10 +0000 Subject: - reverted unintentional change --- program/include/main.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/include/main.inc') 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; -- cgit v1.2.3