From 7c0214dfadcde1bc187bfdc49a1843e94aa13aaf Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Wed, 20 Mar 2024 12:04:00 +0100 Subject: [PATCH] remove reindex message. show all tags if param is empty. --- index.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.php b/index.php index c82f7fc..6f75725 100644 --- a/index.php +++ b/index.php @@ -24,7 +24,6 @@ if (!isset($_SESSION['index']) || isset($_GET['reindex']) || empty($_SESSION['index'])) { - echo '
reindexed
'; $files = glob($dir . '/*'); usort($files, function($a, $b) { @@ -190,7 +189,7 @@ $name = basename($path); if (!str_ends_with($name, '.del')) { - if ($_GET['param'] && (isset($_GET['search']) || isset($_GET['tags']))) + if (($_GET['param'] && isset($_GET['search'])) || isset($_GET['tags'])) { $content = file_get_contents($path);