From: rabuzarus <> Date: Fri, 29 May 2015 02:05:41 +0000 (+0200) Subject: change the conditions X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3e0635992fbf66593fceb428162d27dc2124c613;p=friendica.git change the conditions --- diff --git a/mod/directory.php b/mod/directory.php index 81f3c52c7c..b13e17627a 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -29,7 +29,8 @@ function directory_content(&$a) { require_once("mod/proxy.php"); - if((get_config('system','block_public')) && (! local_user()) && (! remote_user()) || (get_config('system','block_local_dir'))) { + if((get_config('system','block_public')) && (! local_user()) && (! remote_user()) || + (get_config('system','block_local_dir')) && (! local_user()) && (! remote_user())) { notice( t('Public access denied.') . EOL); return; }