From: rabuzarus <> Date: Sun, 31 May 2015 23:50:27 +0000 (+0200) Subject: block poco if block_local_dir is true X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8257e7e1e518760ddbdf62263826b7e2ca54df54;p=friendica.git block poco if block_local_dir is true --- diff --git a/mod/poco.php b/mod/poco.php index 86b43d651d..89f2f879a0 100644 --- a/mod/poco.php +++ b/mod/poco.php @@ -5,7 +5,7 @@ function poco_init(&$a) { $system_mode = false; - if(intval(get_config('system','block_public'))) + if(intval(get_config('system','block_public')) || (get_config('system','block_local_dir'))) http_status_exit(401);