How to integrate Hostry CDN with B2Evolution?

www.b2evolution.net

In order to set the path variables and connect them to the CDN location you need to edit just one file:

Open blogs/conf/_advanced.php and add a few lines of code on the top of the page:

$cdnurl = ‘http://cdn.your-domain.net/’;
So that first line of code should be like that:

Find this line:

$rsc_url = $baseurl.$rsc_subdir;
And replace it with:
$rsc_url = $cdnurl.$rsc_subdir;

Find the following line:

$skins_url = $baseurl.$skins_subdir;
Replace it with:
$skins_url = $cdnurl.$skins_subdir;

Find the following line:

$media_url = $baseurl.$media_subdir;
Replace it with:
$media_url = $cdnurl.$media_subdir;

Note:
“cdn.your-domain.net” should be replaced with the appropriate CDN temp URL or, if you have a custom URL, the proper custom URL. You can define whether your X-Cart is using the CDN by reloading it in your browser and checking the source code of the page.