remove reindex message. show all tags if param is empty.
This commit is contained in:
parent
b2fac6e015
commit
7c0214dfad
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue