mirror of
https://github.com/friendica/friendica
synced 2025-04-25 07:10:11 +00:00
provide local_block - block_public as far as content but can connect with the grid.
This commit is contained in:
parent
40cfcdad2d
commit
5c0f0df59a
2 changed files with 9 additions and 4 deletions
|
@ -756,8 +756,10 @@ function dfrn_request_content(&$a) {
|
|||
*/
|
||||
|
||||
if((get_config('system','block_public')) && (! local_user()) && (! remote_user())) {
|
||||
notice( t('Public access denied.') . EOL);
|
||||
return;
|
||||
if(! get_config('system','local_block')) {
|
||||
notice( t('Public access denied.') . EOL);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue