[eluser]developer10[/eluser]
[quote author="wiredesignz" date="1328635624"][quote author="developer10" date="1328635018"]... What would be an equivalent of APPPATH for a module in HMVC? ...[/quote]
Code:
APPPATH.'modules/the_module_name/'
[/quote]
Well, yes, I've done that before. But isnt there any way of putting something that will be true for any module a user is in so that a single Template.php in /system/libraries serves any module a user might be in.
For example:
Code:
APPATH.MODULEPATH.'views/'.$filename.EXT
Couldnt I define somewhere MODULEPATH and use it like in the above example?