fixes #33.
This commit is contained in:
parent
1d32baf5b4
commit
95f6bf1703
@ -174,7 +174,7 @@ function display_block( $file )
|
||||
global $ignore_file_list, $ignore_ext_list, $force_download;
|
||||
|
||||
$file_ext = ext($file);
|
||||
if( !$file_ext AND is_dir($file)) $file_ext = "dir";
|
||||
if(is_dir($file)) $file_ext = "dir";
|
||||
if(in_array($file, $ignore_file_list)) return;
|
||||
if(in_array($file_ext, $ignore_ext_list)) return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user