function _filebrowser_cant_view_file in Filebrowser 6.2
Same name and namespace in other branches
- 8 filebrowser.common.inc \_filebrowser_cant_view_file()
- 7.4 filebrowser.common.inc \_filebrowser_cant_view_file()
- 7.2 filebrowser.common.inc \_filebrowser_cant_view_file()
- 7.3 filebrowser.common.inc \_filebrowser_cant_view_file()
Check if user should not view a specific file.
1 call to _filebrowser_cant_view_file()
- _filebrowser_load_files in includes/
filesystem.inc - Load data from current path.
File
- includes/
node.inc, line 49
Code
function _filebrowser_cant_view_file(&$node, $file) {
return trim($node->folder_rights->forbidden_files) != '' && _filebrowser_match_path($file, $node->folder_rights->forbidden_files);
}