remove reindex message. show all tags if param is empty.

This commit is contained in:
quenousimporte 2024-03-20 12:04:00 +01:00
parent b2fac6e015
commit 7c0214dfad
1 changed files with 1 additions and 2 deletions

View File

@ -24,7 +24,6 @@
if (!isset($_SESSION['index']) || isset($_GET['reindex']) || empty($_SESSION['index'])) if (!isset($_SESSION['index']) || isset($_GET['reindex']) || empty($_SESSION['index']))
{ {
echo '<div class="grey">reindexed</div>';
$files = glob($dir . '/*'); $files = glob($dir . '/*');
usort($files, function($a, $b) usort($files, function($a, $b)
{ {
@ -190,7 +189,7 @@
$name = basename($path); $name = basename($path);
if (!str_ends_with($name, '.del')) 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); $content = file_get_contents($path);