more zot6

This commit is contained in:
zotlabs
2017-09-13 20:40:01 -07:00
parent 62d6bada4c
commit b5966041be
4 changed files with 26 additions and 6 deletions

View File

@@ -19,12 +19,19 @@ class Post extends \Zotlabs\Web\Controller {
function init() {
if(array_key_exists('auth', $_REQUEST)) {
$x = new \Zotlabs\Zot\Auth($_REQUEST);
exit;
}
}
function post() {
$z = new \Zotlabs\Zot\Receiver($_REQUEST['data'], get_config('system', 'prvkey'), new \Zotlabs\Zot\ZotHandler());
// notreached;