aboutsummaryrefslogblamecommitdiffstats
path: root/Zotlabs/Module/Zot.php
blob: 1cc0e54c9f413679253bd6b3b351bd7233472e05 (plain) (tree)




















                                                                               
                                                                          


         
<?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');
	}

}