diff options
Diffstat (limited to 'Zotlabs/Module/Post.php')
-rw-r--r-- | Zotlabs/Module/Post.php | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/Zotlabs/Module/Post.php b/Zotlabs/Module/Post.php index dba26075f..f67cbf020 100644 --- a/Zotlabs/Module/Post.php +++ b/Zotlabs/Module/Post.php @@ -24,18 +24,11 @@ class Post extends \Zotlabs\Web\Controller { } function post() { + if(array_key_exists('data',$_REQUEST)) { + $z = new \Zotlabs\Zot\Receiver($_REQUEST['data'], get_config('system', 'prvkey'), new \Zotlabs\Zot\ZotHandler()); + exit; + } - - - - - - - - $z = new \Zotlabs\Zot\Receiver($_REQUEST['data'], get_config('system', 'prvkey'), new \Zotlabs\Zot\ZotHandler()); - - // notreached; - exit; } } |