Restored accidental cache disable.

This commit is contained in:
flash 2018-12-27 04:26:08 +01:00
parent f03b37e0c6
commit 7f36672c0d

View file

@ -78,7 +78,7 @@ $onlineUsers = cache_get('index:online:v1', function () {
ORDER BY RAND()
LIMIT 104
')->fetchAll(PDO::FETCH_ASSOC);
}, -1);
}, 30);
echo tpl_render('home.' . (user_session_active() ? 'home' : 'landing'), [
'users_count' => $statistics['users'],