Browse Source

show reindex feature on indexed pages only

main
yggverse 8 months ago
parent
commit
bb948fed35
  1. 2
      src/webui/explore.php

2
src/webui/explore.php

@ -488,7 +488,7 @@ if ($config->webui->reindex->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->reindex->enabled) { ?> <?php if ($config->webui->reindex->enabled && $document->get('time')) { ?>
<h3><?php echo _('Reindex') ?></h3> <h3><?php echo _('Reindex') ?></h3>
<div> <div>
<?php if ($document->get('reindex')) { ?> <?php if ($document->get('reindex')) { ?>

Loading…
Cancel
Save