This repository has been archived on 2024-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
core/Zotlabs/Module/Zot.php
2018-11-19 15:04:08 -08:00

26 lines
369 B
PHP

<?php
/**
* @file Zotlabs/Module/Zot.php
*
* @brief Zot endpoint.
*
*/
namespace Zotlabs\Module;
use Zotlabs\Zot6 as ZotProtocol;
/**
* @brief Zot module.
*
*/
class Zot extends \Zotlabs\Web\Controller {
function init() {
$zot = new ZotProtocol\Receiver(new ZotProtocol\Zot6Handler());
json_return_and_die($zot->run(),'application/x-zot+json');
}
}