@Edemilson:
Modules is only a static helper class, it isn’t meant to be instantiated. The HMVC class is extended by your module… I suppose it could be called Module.
So your code would look like:
class Setup extends Module
{
function Setup() {}
}Would that be easier?, Although class names aren’t really important.
RE: get_instance() above, thank you Edemilson, that code isn’t needed now. 😉