wpsc_is_https()
No Hooks.
Returns
null. Nothing (null).
Usage
wpsc_is_https();
wpsc_is_https() wpsc is https code WPSCache 3.1.1
function wpsc_is_https() {
// Also supports https requests coming from an nginx reverse proxy
return ( ( isset( $_SERVER['HTTPS'] ) && 'on' == strtolower( $_SERVER['HTTPS'] ) ) || ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && 'https' == strtolower( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) ) );
}