1
Hi there,
Can you tell me how to dynamically retreive the current module's directory in code on a module page? $xoopsModule->getvar('dirname ') isn't working for me.
I want to retrieve it like this to save me work if I decide to rename the modules directory name duiring or after development.
I can't see any examples in other modules that do this, which suprised me. It made me think that maybe it's not a good idea to do it. Either that or I'm not looking hard enough
. If it isn't a good idea, I wonder if you could tell me why?
I'm using XOOPS 2.0.13
Thanks a lot!
Michael