I don't have Max CDN but to include the $AltSkinDir and $AltImagesDir it seems that you would need to find:
PHP Code:
if (@file_exists($alt_skin_dir . XC_DS . 'css' . XC_DS . 'altskin.css')) {
$smarty->assign('AltImagesDir', $alt_skin_info['web_path'] . '/images');
$smarty->assign('AltSkinDir', $alt_skin_info['web_path']);
}
and replace with:
PHP Code:
// WCM - MaxCDN Implementation
if (@file_exists($alt_skin_dir . XC_DS . 'css' . XC_DS . 'altskin.css')) {
if ($_SERVER['HTTPS'] != 'on')
{
$smarty->assign('AltImagesDir', "http://CdnUrl.example.com" . $alt_skin_info['web_path'] . '/images');
$smarty->assign('AltSkinDir', "http://CdnUrl.example.com" . $alt_skin_info['web_path']);
}
else
{
$smarty->assign('AltImagesDir', $alt_skin_info['web_path'] . '/images');
$smarty->assign('AltSkinDir', $alt_skin_info['web_path']);
}
}
Again, just shooting in the dark. Look correct?