Re: MaxCDN Content Delivery Solution?
Try:
// WCM - CDN Images
if (($type == 'T' OR $type == 'P') AND $_SERVER['HTTPS'] != 'on')
{
$image_path = str_replace('/home/path/to/your/images/','',$image_path);
return str_replace('$http_location','',$image_path);
}
// / WCM - CDN Images
|