remove debug flags

This commit is contained in:
lopar 2020-06-23 22:34:52 +03:00
parent 0be53f775f
commit a40e2e27a0
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
<?php
echo "<br><br><br>HERE func IS!";
/**
* Copyright (c) 2018.
* Author: Igor Barkov <lopar.4ever@gmail.com>
@ -26,7 +26,7 @@ $ip = filter_input(INPUT_SERVER, 'REMOTE_ADDR', FILTER_VALIDATE_IP);
if (isset($_GET['goto']) && isset($_GET['tStamp']) && isset($_GET['vcode']) && $_GET['vcode'] == md5(sha1($_GET['goto'] . $_GET['tStamp']))) {
db::c()->query('UPDATE `users`,`online` SET `users`.`room` = ?i, `online`.`room` = ?i WHERE `online`.`id` = `users`.`id` AND `online`.`id` = ?i', $_GET['goto'], $_GET['goto'], $_SESSION['uid']);
$user['room'] = intval($_GET['goto']);
} else { echo 'test';}
}
function createbot($bot, $login = "")
{

View File

@ -1,5 +1,5 @@
<?php
//ob_start("ob_gzhandler");
ob_start("ob_gzhandler");
session_start();
$errkom = '';
$get = filter_input(INPUT_SERVER, 'QUERY_STRING');
@ -10,9 +10,9 @@ if ($get === 'exit') {
if (!isset($_SESSION['uid'])) {
header("Location: index.php");
}
echo "<br><br><br>HERE IT IS!";
require_once 'functions.php';
echo "<br><br><br>HERE IT IS too!";
$tmaz = time();
try {
db::c()->query('UPDATE `online` SET `real_time` = ?i WHERE `id` = ?i', time(), $user['id']);