There are plenty of sites out there with this exact code and I use it in almost every site I've written, but I'll remember where it is if I post it here.
#GetDirectoryFromPath(GetCurrentTemplatePath())#
#GetDirectoryFromPath(GetCurrentTemplatePath())#somedir\somedir2\
Watch your slashes for different OS's.
No comments:
Post a Comment