aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Post.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module/Post.php')
-rw-r--r--Zotlabs/Module/Post.php15
1 files changed, 5 insertions, 10 deletions
diff --git a/Zotlabs/Module/Post.php b/Zotlabs/Module/Post.php
index dba26075f..76b74a338 100644
--- a/Zotlabs/Module/Post.php
+++ b/Zotlabs/Module/Post.php
@@ -24,18 +24,13 @@ 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());
-
-
-
-
-
-
-
- $z = new \Zotlabs\Zot\Receiver($_REQUEST['data'], get_config('system', 'prvkey'), new \Zotlabs\Zot\ZotHandler());
+ // notreached;
+ exit;
+ }
- // notreached;
- exit;
}
}