From 828e5f09350f11b0d967f35c5a84d7459166455f Mon Sep 17 00:00:00 2001 From: Marius Date: Wed, 11 Aug 2021 20:51:30 +0200 Subject: [PATCH] Bugfix --- index.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/index.php b/index.php index c2cb443..bb5d1a5 100644 --- a/index.php +++ b/index.php @@ -63,7 +63,7 @@ $ignore_empty_folders = true; // DISPLAY LINKS TO HTML FILES IN A FLAT LIST $flat_link_list = array(); -$flat_link_list_exclude = array('WTA'); +function flat_link_list_filter($link) { return substr($link, 0, 3) != 'WTA'; } // SET TITLE BASED ON FOLDER NAME, IF NOT SET ABOVE @@ -322,15 +322,7 @@ function display_flat_link_list() { $h .= ""; $h .= ""; $h .= "