mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update bbcode.php
This commit is contained in:
parent
e92a927969
commit
2da8e3d90e
@ -633,7 +633,7 @@ class bbcode
|
||||
{
|
||||
return $text;
|
||||
}
|
||||
if (is_null($spam_words))
|
||||
if (is_null($spam_words) && file_exists($bb_cfg['spam_filter_file_path']))
|
||||
{
|
||||
$spam_words = file_get_contents($bb_cfg['spam_filter_file_path']);
|
||||
$spam_words = strtolower($spam_words);
|
||||
|
Loading…
Reference in New Issue
Block a user