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