отображение ошибок

This commit is contained in:
lopar 2020-06-23 19:58:52 +03:00
parent e207903020
commit 442e4fb639
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ require_once 'config.php';
*/
if (isset($_SESSION['uid'])) {
$user = (new users_row($_SESSION['uid']))->result();
}
} else {echo "Не могу проинициализировать игрока!";}
if (isset($user['id']) && $user['block'] == 1) {
die('user blocked!');