hello - how I can move lib folder to a different hosting right now I have it as
define('DIR_LIB', DIR_ROOT . '/lib/');
I wanted to move that to like http://www.domain.com/lib/
Thanks
Why? Most files in there are included for every page. Requiring an off site reference is going to kill your performance and more than likely isn't going to work.
I doubt it as this is for CDN, but I am getting addon made for that for amazon s3 cloud front.
CDN for PHP files?
I have images already just need to transfer the skin like how MAXCDN offers
[color=#000000]// WCM - MaxCDN Implementation[/color]
[color=#000000]if ($_SERVER['HTTPS'] != 'on')[/color]
[color=#000000]{[/color]
[color=#000000]$smarty->assign('SkinDir', 'http://cdnurl.example.com/skin1');[/color]
[color=#000000]$smarty->assign('ImagesDir', 'http://cdnurl.example.com/skin1/images');[/color]
[color=#000000]}[/color]
[color=#000000]else[/color]
[color=#000000]{[/color]
[color=#000000]$smarty->assign(“SkinDir”,$xcart_web_dir.“/skin1”);[/color]
[color=#000000]$smarty->assign(“ImagesDir”,$xcart_web_dir.“/skin1/images”);[/color]
[color=#000000]}[/color]
[color=#000000]// / WCM - MaxCDN Implementation[/color]
[color=#000000]Above is for X_CART but needed the same for CS-Cart[/color]
What does the skin directory have to do with the lib directory?
I think you're going to end up with a mess doing this since you're not going to get any template caching or compilation.
But, good luck to you.