2020-10-01 11:46:35 +03:00
|
|
|
|
<?php
|
2021-08-27 18:55:18 +03:00
|
|
|
|
if(session_status() !== PHP_SESSION_ACTIVE) {
|
|
|
|
|
session_start();
|
|
|
|
|
}
|
2020-10-01 11:53:48 +03:00
|
|
|
|
if ($_SESSION['uid']) {
|
|
|
|
|
header('Location: fight.php');
|
|
|
|
|
exit;
|
|
|
|
|
}
|
2022-08-09 22:57:43 +03:00
|
|
|
|
require_once 'views/index.html';
|