View Single Post
  #38  
Old 06-09-2011, 01:56 PM
 
TA TA is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 303
 

Default Re: MaxCDN Content Delivery Solution?

This just in...

The reason I had to use the temp. URL was DNS has to do it's thing before the other URL will work.

Here is what I ended up with that finally brought my images up.

Code:
// WCM - CDN Images if (($type == 'T' OR $type == 'P') AND $_SERVER['HTTPS'] != 'on') return str_replace('/home/xxxxxxx/public_html/images/','http://xxxxxxxxxxxxxx.netdna-cdn.com/images/',$image_path); // / WCM - CDN Images

Putting /images at the end made it work. All fixed and running now.
__________________
v4.7.12
v5.4.x (In Dev)
Reply With Quote