mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-18 03:33:26 +02:00
feat: Rewrite of the core: avoid globals where possible
Create services for: login, status, router, database, AnonymousStatistics Drop gesior.backward_support Drop compat/pages.php Drop part of compat/classes.php Move signature to routes
This commit is contained in:
@@ -15,6 +15,7 @@ $last_kills = array();
|
||||
$players_deaths_count = 0;
|
||||
|
||||
$tmp = null;
|
||||
$cache = app()->get('cache');
|
||||
if($cache->enabled() && $cache->fetch('last_kills', $tmp)) {
|
||||
$last_kills = unserialize($tmp);
|
||||
}
|
||||
|
Reference in New Issue
Block a user