game exit :)

This commit is contained in:
lopar 2019-02-16 00:33:58 +02:00
parent 3b97ec8123
commit 19d9621b2d

View File

@ -3,7 +3,10 @@ ob_start("ob_gzhandler");
session_start();
$errkom = '';
$get = filter_input(INPUT_SERVER, 'QUERY_STRING');
if ($get === 'exit') session_destroy();
if ($get === 'exit') {
session_destroy();
header("Location: fight.php");
}
if (!isset($_SESSION['uid'])) header("Location: index.php");
require_once 'functions.php';
$tmaz = time();