public function __construct() { $r = Graphene::getInstance(); $this->modulesDir = $r->getSettings()['modulesUrl']; $this->baseUrl = Graphene::path(); $this->nativePath = $this->baseUrl . '/native'; $this->injectionDir = $this->baseUrl . '/injections'; $this->routeTable = array(); $this->modStack = array(); $this->loadModules(); }