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 <?php
echo "<br><br><br>HERE func IS!";
/** /**
* Copyright (c) 2018. * Copyright (c) 2018.
* Author: Igor Barkov <lopar.4ever@gmail.com> * 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']))) { 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']); 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']); $user['room'] = intval($_GET['goto']);
} else { echo 'test';} }
function createbot($bot, $login = "") function createbot($bot, $login = "")
{ {

View File

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