Куча мелких фиксов, уборка мусора.

This commit is contained in:
lopar
2020-09-30 01:39:06 +03:00
parent 640e85cf18
commit 5ac30becb7
149 changed files with 4221 additions and 11012 deletions
+2 -2
View File
@@ -4,9 +4,9 @@ if (empty($_SESSION['uid'])) {
header("Location: index.php");
exit;
}
include("functions.php");
require_once "functions.php";
$user = $user ?? [];
if ($user->battle != 0) {
if ($user->battle) {
header('Location: fbattle.php');
exit;
}