This commit is contained in:
Miroslav Šedivý 2021-12-26 16:35:50 +01:00
parent 1d32baf5b4
commit 95f6bf1703

View File

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