diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-09-26 19:55:18 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-09-26 19:55:18 +0200 |
commit | cee41bb1e5cc9d7ea6d49183e78fcb2f5f0d1472 (patch) | |
tree | 38383bb40e58ee85fb6296a69667411ee92b0da5 /Zotlabs/Module/Post.php | |
parent | 4a270d10d189471496438489a9b444bd12340aab (diff) | |
parent | 86e888e5ebf4090dbab33a28a68fa67b93566417 (diff) | |
download | volse-hubzilla-cee41bb1e5cc9d7ea6d49183e78fcb2f5f0d1472.tar.gz volse-hubzilla-cee41bb1e5cc9d7ea6d49183e78fcb2f5f0d1472.tar.bz2 volse-hubzilla-cee41bb1e5cc9d7ea6d49183e78fcb2f5f0d1472.zip |
Merge remote-tracking branch 'mike/master' into dev
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; } } |