Commit | Line | Data |
---|---|---|
b81789c5 | 1 | ////////////////////////// |
2 | // // | |
3 | // Censorship Filter // | |
4 | // // | |
5 | ////////////////////////// | |
6 | ||
7 | This is a very simple Text Filter that searches text | |
8 | being output to the screen, replacing "bad" words | |
9 | with other words. | |
10 | ||
11 | To activate this filter, add a line like this to your | |
12 | config.php: | |
13 | ||
14 | $CFG->textfilter1 = 'filter/censor/censor.php'; | |
15 | ||
16 | ||
17 | To customise the word list, edit cursor.php. |