You are here

function cdn_serve_from_https in CDN 7.2

Same name and namespace in other branches
  1. 6.2 cdn.module \cdn_serve_from_https()

Check if CDN module should serve files from a HTTPS location.

1 call to cdn_serve_from_https()
cdn_basic_get_mapping in ./cdn.basic.inc
Returns the CDN mapping for HTTP or HTTPS.

File

./cdn.module, line 839

Code

function cdn_serve_from_https() {
  return variable_get(CDN_HTTPS_SUPPORT_VARIABLE, FALSE) && cdn_request_is_https();
}