mirror of
https://github.com/YGGverse/Yo.git
synced 2026-04-02 10:45:29 +00:00
reset http code to 404 on page index initiation
This commit is contained in:
parent
015221eafb
commit
6a9117757b
1 changed files with 2 additions and 1 deletions
|
|
@ -73,7 +73,8 @@ foreach($search->get() as $document)
|
||||||
// Update index time
|
// Update index time
|
||||||
$index->updateDocument(
|
$index->updateDocument(
|
||||||
[
|
[
|
||||||
'time' => time()
|
'time' => time(),
|
||||||
|
'code' => 404
|
||||||
],
|
],
|
||||||
$document->getId()
|
$document->getId()
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue