block poco if block_local_dir is true

This commit is contained in:
rabuzarus 2015-06-01 01:50:27 +02:00
parent 3e0635992f
commit 8257e7e1e5

View 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);