This commit is contained in:
Igor Barkov (iwork)
2020-06-23 16:36:00 +03:00
parent b0e92398c3
commit 50ab374d3a
2 changed files with 8 additions and 8 deletions

View File

@@ -10,9 +10,7 @@ if ($get === 'exit') {
if (!isset($_SESSION['uid'])) {
header("Location: index.php");
}
echo '1';
require_once 'functions.php';
echo '2';
$tmaz = time();
try {
db::c()->query('UPDATE `online` SET `real_time` = ?i WHERE `id` = ?i', time(), $user['id']);