[dev] Agora to filter words in messages

Derek P. Moore derekm at hackunix.org
Sat Apr 10 21:14:42 PDT 2004


>> if ($GLOBALS['prefs']->getValue('message_fileter_words')) {
>>     $array['message_body'] = Text::filter($array['message_body'],
>> AGORA_BASE . '/config/badwords.php', '***');
>> }

Not that I'll ever use the functionality, but maybe the bad words file 
should be
moved up into Horde.  That way censors don't have to configure multiple files
with different naming conventions ('agora/config/badwords.php' vs.
'imp/config/filter.txt').

Peace out,

Derek



More information about the dev mailing list