forked from leftypol/leftypol
Random names for anonymous users - thanks to svnth
This commit is contained in:
parent
7b339f7f56
commit
4adf893c39
2 changed files with 5 additions and 1 deletions
|
@ -240,6 +240,9 @@ function loadConfig() {
|
|||
event_handler('post', 'postHandler');
|
||||
}
|
||||
|
||||
if (is_array($config['anonymous']))
|
||||
$config['anonymous'] = $config['anonymous'][array_rand($config['anonymous'])];
|
||||
|
||||
event('load-config');
|
||||
|
||||
if ($config['debug']) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue