wpsc_is_https()WPSCache 1.0

No Hooks.

Return

null. Nothing (null).

Usage

wpsc_is_https();

wpsc_is_https() code WPSCache 1.12.0

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'] ) ) );
}