game exit :)
This commit is contained in:
parent
3b97ec8123
commit
19d9621b2d
5
main.php
5
main.php
@ -3,7 +3,10 @@ ob_start("ob_gzhandler");
|
|||||||
session_start();
|
session_start();
|
||||||
$errkom = '';
|
$errkom = '';
|
||||||
$get = filter_input(INPUT_SERVER, 'QUERY_STRING');
|
$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");
|
if (!isset($_SESSION['uid'])) header("Location: index.php");
|
||||||
require_once 'functions.php';
|
require_once 'functions.php';
|
||||||
$tmaz = time();
|
$tmaz = time();
|
||||||
|
Loading…
Reference in New Issue
Block a user