mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-11 07:27:58 +00:00
make MAGNET_STOP_WORDS_SIMILAR case not sinsetive
This commit is contained in:
parent
ea97dbc540
commit
fbbc5c010a
@ -75,7 +75,7 @@ class Sphinx {
|
|||||||
{
|
{
|
||||||
if (mb_strlen($value) > 5)
|
if (mb_strlen($value) > 5)
|
||||||
{
|
{
|
||||||
if (!in_array(mb_strtolower($value), $stopWords))
|
if (!in_array(mb_strtolower($value), array_map('strtolower', $stopWords)))
|
||||||
{
|
{
|
||||||
$result[] = sprintf('@metaTitle "%s" | @dn "%s"', $value, $value);
|
$result[] = sprintf('@metaTitle "%s" | @dn "%s"', $value, $value);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user