battles/index.php
lopar b9b4c01cf0 Зимние правки. MVC/
Signed-off-by: lopar <lopar.4ever@gmail.com>
2022-08-09 22:57:43 +03:00

9 lines
181 B
PHP

<?php
if(session_status() !== PHP_SESSION_ACTIVE) {
session_start();
}
if ($_SESSION['uid']) {
header('Location: fight.php');
exit;
}
require_once 'views/index.html';