diff options
author | Thomas Willingham <founder@kakste.com> | 2012-04-24 02:18:51 +0100 |
---|---|---|
committer | Thomas Willingham <founder@kakste.com> | 2012-04-24 02:18:51 +0100 |
commit | 8a80ea24d1d8039be6dc532c9db23c60e71eb467 (patch) | |
tree | 7f94f8d1e2336bbb7e69a327a003b6880f0610c0 /mod/receive.php | |
parent | c4f4715a541ad89dfd348f14c4e25a83006e74e7 (diff) | |
parent | af7abcea2715824cbd6460a7323c8bb64bd5b829 (diff) | |
download | volse-hubzilla-8a80ea24d1d8039be6dc532c9db23c60e71eb467.tar.gz volse-hubzilla-8a80ea24d1d8039be6dc532c9db23c60e71eb467.tar.bz2 volse-hubzilla-8a80ea24d1d8039be6dc532c9db23c60e71eb467.zip |
Merge remote-tracking branch 'upstream/master'
Merge upstream
Diffstat (limited to 'mod/receive.php')
-rw-r--r--[-rwxr-xr-x] | mod/receive.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mod/receive.php b/mod/receive.php index 950bf0bd3..2bd3cc65b 100755..100644 --- a/mod/receive.php +++ b/mod/receive.php @@ -12,6 +12,13 @@ require_once('include/diaspora.php'); function receive_post(&$a) { + + $enabled = intval(get_config('system','diaspora_enabled')); + if(! $enabled) { + logger('mod-diaspora: disabled'); + http_status_exit(500); + } + $public = false; if(($a->argc == 2) && ($a->argv[1] === 'public')) { |