Commit d258ca95 authored by Chris Graham's avatar Chris Graham
Browse files

Fixed MANTIS-4522 (Cron-based block cache filling may not work on an HTTPS site)

parent 73a62015
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1610,7 +1610,8 @@ function do_block_get_cache_identifier($cache_on, $map)
        }
    }

    $_cache_identifier[] = tacit_https();
    global $SITE_INFO;
    $_cache_identifier[] = (tacit_https()) || (!empty($SITE_INFO['base_url'])) && (substr($SITE_INFO['base_url'], 0, 8) == 'https://');

    if (!empty($map['raw'])) {
        $_cache_identifier[] = $map['raw'];