Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GSgallery 2.0 - Simple Image Gallery Plugin (Square It)
#5
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
Reply


Messages In This Thread
GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - by tormac - 2010-05-24, 08:15:04



Users browsing this thread: 6 Guest(s)