Куча мелких фиксов, уборка мусора.
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user