mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 01:25:39 +00:00
make MAGNET_STOP_WORDS_SIMILAR case not sinsetive
This commit is contained in:
parent
ea97dbc540
commit
fbbc5c010a
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue