samrayner Wrote:I second Tormac's request. I had to go through making all of the URLs absolute as I have Fancy URLs enabled so the relative paths point to the wrong place. Not a tough bug to fix but might stump some users. Cheers.
Code:
$main_settings = getXML(GSDATAOTHERPATH .'website.xml');
$SITEURL = (string)$main_settings->SITEURL;
these two lines allow getting site URL from config. I've put that variable ($SITEURL) on the beginning of each path related line and it works on each of my custom installations. Hope that will do the trick for you too