diff options
Diffstat (limited to 'inc/search.php')
-rw-r--r-- | inc/search.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/inc/search.php b/inc/search.php index ffe85adc1..4000c445d 100644 --- a/inc/search.php +++ b/inc/search.php @@ -125,8 +125,14 @@ function search_index(&$data,$base,$file,$type,$lvl,$opts){ return false; } - //check ACL $id = pathID($file); + + //check hidden + if($type=='f' && isHiddenPage($id)){ + return false; + } + + //check ACL if($type=='f' && auth_quickaclcheck($id) < AUTH_READ){ return false; } |