Upload files to "website"
This commit is contained in:
parent
7480285825
commit
160f456ae1
5 changed files with 243 additions and 0 deletions
13
website/logout.php
Normal file
13
website/logout.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
session_start();
|
||||
require($_SERVER['DOCUMENT_ROOT'].'/include.php');
|
||||
|
||||
$_SESSION = array();
|
||||
session_destroy();
|
||||
|
||||
mysqli_close($mysqli);
|
||||
|
||||
header("Location: $gameroot/index.html");
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue