mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-13 18:04:54 +02:00
Improved flags system & reduce query usage in online list
Using http://flag.znote.eu as an external image server for flags. Online list is now stored in a 30 seconds quick cache. Reduced query usage in online list to 1 instead of 1 + players online amounts of queries.
This commit is contained in:
@@ -560,7 +560,13 @@
|
||||
$config['use_guild_logos'] = true;
|
||||
|
||||
// Use country flags
|
||||
$config['country_flags'] = false;
|
||||
$config['country_flags'] = array(
|
||||
'enabled' => true,
|
||||
'highscores' => true,
|
||||
'onlinelist' => true,
|
||||
'characterprofile' => true,
|
||||
'server' => 'http://flag.znote.eu'
|
||||
);
|
||||
|
||||
// Level requirement to create guild? (Just set it to 1 to allow all levels).
|
||||
$config['create_guild_level'] = 8;
|
||||
|
Reference in New Issue
Block a user