summaryrefslogtreecommitdiff
path: root/program/steps/mail/rss.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/steps/mail/rss.inc')
-rw-r--r--program/steps/mail/rss.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/rss.inc b/program/steps/mail/rss.inc
index 667a3487d..2ebd15c9f 100644
--- a/program/steps/mail/rss.inc
+++ b/program/steps/mail/rss.inc
@@ -30,7 +30,7 @@ $REMOTE_REQUEST = TRUE;
$OUTPUT_TYPE = 'rss';
$webmail_url = 'http';
-if (strstr('HTTPS', $_SERVER['SERVER_PROTOCOL'] )!== FALSE)
+if (strstr('HTTPS', $_SERVER['SERVER_PROTOCOL'] )!== FALSE || $RCMAIL->config->get('use_https'))
$webmail_url .= 's';
$webmail_url .= '://'.$_SERVER['SERVER_NAME'];
if ($_SERVER['SERVER_PORT'] != '80')