removing notices

This commit is contained in:
lopar 2018-03-03 02:14:58 +02:00
parent a0aa0df157
commit 13867c2864
2 changed files with 3 additions and 2 deletions

View File

@ -9,6 +9,9 @@ require_once 'config.php';
require_once 'classes/u.php';
$u = new u($_SESSION['uid']);
/** Бля, если это сработает... */
$user = $u->i();
define("HPADDICTIONEFFECT", 33);
$ip = filter_input(INPUT_SERVER,'REMOTE_ADDR', FILTER_VALIDATE_IP);

View File

@ -14,8 +14,6 @@ if ($u->i()['battle'] != 0) {
die();
}
/** Бля, если это сработает... */
$user = $u->i();
//if($user['klan']) {
// $shadow = mysql_fetch_array(mysql_query("SELECT `id`, `mshadow`, `wshadow` FROM `clans` WHERE `id` = '{$user['klan']}' LIMIT 1"));