mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Minor improvements (#884)
* Minor improvements * Update displaying_torrent.php * Updated * Updated * Updated * Update terms.php
This commit is contained in:
parent
4b453de64a
commit
209b8cd638
20 changed files with 207 additions and 211 deletions
|
@ -31,7 +31,7 @@ $users_cnt = [
|
|||
'user' => 0,
|
||||
'guest' => 0,
|
||||
];
|
||||
$online = $online_short = array('userlist' => '');
|
||||
$online = $online_short = ['userlist' => ''];
|
||||
|
||||
$sql = "
|
||||
SELECT
|
||||
|
@ -117,10 +117,10 @@ if (!$online['userlist']) {
|
|||
$total_online = $logged_online + $guests_online;
|
||||
|
||||
if ($total_online > $bb_cfg['record_online_users']) {
|
||||
bb_update_config(array(
|
||||
bb_update_config([
|
||||
'record_online_users' => $total_online,
|
||||
'record_online_date' => TIMENOW,
|
||||
));
|
||||
'record_online_date' => TIMENOW
|
||||
]);
|
||||
}
|
||||
|
||||
$online['stat'] = $online_short['stat'] = sprintf($lang['ONLINE_USERS'], $total_online, $logged_online, $guests_online);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue