Revert "Second rework of the GeoIP code, now supporting cities!"

This reverts commit 2488e77e86.
This commit is contained in:
czaks
2014-07-06 02:12:54 +02:00
parent d1a3fe6dbf
commit a9b035d822
7 changed files with 7 additions and 7052 deletions

View File

@@ -776,11 +776,10 @@
// The default name (e.g. Anonymous). Can be an array - in that case it's picked randomly from the array.
// Example: $config['anonymous'] = array('Bernd', 'Senpai', 'Jonne', 'ChanPro');
$config['anonymous'] = 'Anonymous';
// Pick the default name based on the poster's country or city. Can contain subarrays and is picked randomly from them.
// Pick the default name based on the poster's country. Can contain subarrays and is picked randomly from the them.
// If the user posts from a country you have not set a name for, his name is going to be whatever you set in $config['anonymous'].
// Example 1: $config['country_anonymous'] = array('cz' => 'Pepik', 'pl' => 'Karol Wojtyla', 'de' => 'Bernd', 'fi' => 'Jonne');
// Example 2: $config['country_anonymous'] = array('cz' => array('Pepik', 'Bohus', 'Lada'), 'pl' => array('Karol Wojtyla', 'Demon Pedofyl');
// Example 3: $config['country_anonymous'] = array('cz' => array('Prague' => 'Pepik', 'Ostrava' => array('Bohus', 'Lada')), 'pl' => array('Karol Wojtyla', 'Demon Pedofyl'));
$config['country_anonymous'] = false;
// Number of reports you can create at once.