Перенаправляем в игру если мы уже залогинены.

This commit is contained in:
Igor Barkov (iwork) 2020-10-01 11:53:48 +03:00
parent 1c4ee4aa97
commit 0fd9ed7aee
1 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,8 @@
<?php
if ($_SESSION['uid']) {
header('Location: fight.php');
exit;
}
require_once './classes/Template.php';
Template::header('Вход');
?>