block poco if block_local_dir is true
This commit is contained in:
parent
3e0635992f
commit
8257e7e1e5
|
@ -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);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user