]> git.mxchange.org Git - friendica.git/commitdiff
block poco if block_local_dir is true
authorrabuzarus <>
Sun, 31 May 2015 23:50:27 +0000 (01:50 +0200)
committerrabuzarus <>
Sun, 31 May 2015 23:50:27 +0000 (01:50 +0200)
mod/poco.php

index 86b43d651dc916e9ac6c19920a3b993a4e394c4e..89f2f879a05c1763b30358e62591fe0a935b614a 100644 (file)
@@ -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);