Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
have a problem with get_theme_url()
#4
You could use the constant GSTHEMESPATH:

Mike's example would then be:
Code:
$dirfile=GSTHEMESPATH.$TEMPLATE."/guestbook.txt";

However I would rather store it in the data/other path:
Code:
$dirfile=GSDATAOTHERPATH."/guestbook.txt";

List of GetSimple constants here: http://get-simple.info/docs/plugin-creation
Reply


Messages In This Thread
have a problem with get_theme_url() - by Carlos - 2010-05-14, 04:56:02



Users browsing this thread: 1 Guest(s)