Browse Source

change the conditions

pull/1619/head
rabuzarus 6 years ago
parent
commit
3e0635992f
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      mod/directory.php

+ 2
- 1
mod/directory.php View File

@ -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;
}


Loading…
Cancel
Save