Add regexp support to spamfilter

This commit is contained in:
Kijin Sung 2018-08-14 13:15:11 +09:00
parent 75f55c9b5e
commit 7c07727e91
9 changed files with 38 additions and 16 deletions

View file

@ -149,7 +149,7 @@ class spamfilterAdminController extends spamfilter
continue;
}
if (mb_strlen($word, 'UTF-8') < 2 || mb_strlen($word, 'UTF-8') > 40)
if (mb_strlen($word, 'UTF-8') < 2 || mb_strlen($word, 'UTF-8') > 180)
{
return $this->setError('msg_invalid_word');
}