mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-09-14 15:21:53 +00:00
add filename to keywords index
This commit is contained in:
parent
5168280519
commit
f5d8759dfe
@ -189,6 +189,11 @@ class TorrentService
|
|||||||
$keywords[] = $hash;
|
$keywords[] = $hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($name = $file->getName(false))
|
||||||
|
{
|
||||||
|
$keywords[] = $name;
|
||||||
|
}
|
||||||
|
|
||||||
$keywords = array_merge($keywords, $words);
|
$keywords = array_merge($keywords, $words);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user