Перевод functions.php и основных направлений на класс User.
This commit is contained in:
parent
8d8342d197
commit
9e1611161c
1
main.php
1
main.php
@ -11,7 +11,6 @@ if (!isset($_SESSION['uid'])) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
require_once 'functions.php';
|
require_once 'functions.php';
|
||||||
$user = $userr;
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
db::c()->query('UPDATE `online` SET `real_time` = ?i WHERE `user_id` = ?i', time(), $user->id);
|
db::c()->query('UPDATE `online` SET `real_time` = ?i WHERE `user_id` = ?i', time(), $user->id);
|
||||||
|
Loading…
Reference in New Issue
Block a user