Новый класс Chat; session_start() уехал централизованно в конфиг с проверкой на существование ессии перед открытием. Уборка deprecated-артефактов. Работа по внедрению #42.

This commit is contained in:
Igor Barkov (iwork)
2021-08-25 18:24:12 +03:00
parent 1f38e6bd61
commit 6fa217b93b
63 changed files with 2253 additions and 2322 deletions
+4 -5
View File
@@ -1,8 +1,7 @@
<?php
session_start();
if (empty($_SESSION['uid'])) {
exit;
}
use Battles\Template;
require_once 'functions.php';
$error = '';
@@ -204,7 +203,7 @@ if ($_GET['exit'] == 1) {
header('Location: city.php');
}
\Battles\Template::header('group_arena');
Template::header('group_arena');
?>
<script>
function growl(title, color, message, stycky) {