From a2ecdd5c39d31d5313afdb2ed76b6daeb75ee233 Mon Sep 17 00:00:00 2001 From: Kevin Glendenning <1313855+kevin-glendenning0@users.noreply.github.com> Date: Wed, 6 Jan 2021 12:15:58 -0500 Subject: [PATCH] Update index.php Makes directory listing skip flat.png which is part of the script --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index 7057331..0717ab9 100644 --- a/index.php +++ b/index.php @@ -177,6 +177,7 @@ function display_block( $file ) if( !$file_ext AND is_dir($file)) $file_ext = "dir"; if(in_array($file, $ignore_file_list)) return; if(in_array($file_ext, $ignore_ext_list)) return; + if(basename($file) == "flat.png") return; $download_att = ($force_download AND $file_ext != "dir" ) ? " download='" . basename($file) . "'" : "";