You could use the constant GSTHEMESPATH:
Mike's example would then be:
However I would rather store it in the data/other path:
List of GetSimple constants here: http://get-simple.info/docs/plugin-creation
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