Mass update

This commit is contained in:
2022-12-30 21:03:37 +02:00
parent 7a5dfd22a7
commit e9ec7eb2f2
172 changed files with 14838 additions and 35914 deletions
+2 -4
View File
@@ -1,6 +1,6 @@
<?php
use Insallah\Db;
use Core\Db;
header('Content-Type: text/html; charset=windows-1251');
const GAME = true;
@@ -655,9 +655,7 @@ if ($_GET['r1'] != 0) {
$ysee = 0;
} else {
if ($pl['online'] < time() - 120) {
mysql_query(
'UPDATE `users` SET `online` = "' . time() . '" WHERE `id` = "' . $pl['id'] . '" LIMIT 1'
);
User::setOnline($pl['id']);
}
}
} else {