Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GSgallery 2.0 - Simple Image Gallery Plugin (Square It)
#6
Most of the time $SITEURL is already defined and you shouldn’t have to read the XML-file again, that will only slow the script down. Instead of the two lines you posted use this:
Code:
global $SITEURL;
Now you should be able to use $SITEURL in the path strings as well.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply


Messages In This Thread
GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - by Zegnåt - 2010-05-24, 08:39:05



Users browsing this thread: 2 Guest(s)