Fixed getting online info from cache (#16)

https://github.com/torrentpier/torrentpier/pull/622
This commit is contained in:
Roman Kelesidis 2023-03-18 22:33:40 +07:00 committed by GitHub
parent b27be71b1c
commit 88f5e18211
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,8 @@ if (defined('SHOW_ONLINE') && SHOW_ONLINE)
if (!${$online_list} = CACHE('bb_cache')->get($online_list))
{
require(INC_DIR .'online_userlist.php');
${$online_list} = CACHE('bb_cache')->get($online_list);
}
}