/** * Registers the module controller namespace and the views directory */ public function initialize() { LVC::registerControllerNamespace(new controllers\Security()); LVC::registerViewDirectory(static::getPath() . '/views/'); Snippets::registerSnippetDirectory(self::getPath() . '/snippets/'); }
/** * Registers the module controller namespace and the views directory */ public function initialize() { LVC::registerControllerNamespace(new controllers\Registration()); LVC::registerViewDirectory(static::getPath() . '/views/'); }