update index feature condition

This commit is contained in:
yggverse 2024-03-23 00:01:08 +02:00
parent 39f42288ec
commit 36c0460fe4

View File

@ -495,7 +495,7 @@ if ($config->webui->index->enabled)
<h3><?php echo _('Cache') ?></h3> <h3><?php echo _('Cache') ?></h3>
<pre><?php echo htmlentities($document->body) ?></pre> <pre><?php echo htmlentities($document->body) ?></pre>
<?php } ?> <?php } ?>
<?php if ($config->webui->index->enabled && $document->get('time')) { ?> <?php if ($config->webui->index->enabled) { ?>
<h3><?php echo _('Index') ?></h3> <h3><?php echo _('Index') ?></h3>
<div> <div>
<?php if ($document->get('index')) { ?> <?php if ($document->get('index')) { ?>