diff options
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php index 6a9b8fd7..b67ddb10 100644 --- a/inc/config.php +++ b/inc/config.php @@ -20,7 +20,8 @@ 'dir' => Array(), 'mod' => Array(), 'spam' => Array(), - 'flood_filters' => Array() + 'flood_filters' => Array(), + 'wordfilters' => Array() ); // Database stuff @@ -447,6 +448,14 @@ // 'message' => 'Your post has been rejected on the suspicion of a flood attack on this board (too many new threads); post a reply instead.' //); + // Wordfilters are used to automatically replace certain words/phrases with something else. + + // For a normal string replacement: + // $config['wordfilters'][] = Array('cat', 'dog'); + + // Advanced raplcement (regular expressions): + // $config['wordfilters'][] = Array('/cat/', 'dog', true); // 'true' means it's a regular expression + // A small file in the main directory indicating that the script has been ran and the board(s) have been generated. // This keeps the script from querying the database and causing strain when not needed. $config['has_installed'] = '.installed'; |
