frontier/website/logout.php

14 lines
187 B
PHP

<?php
session_start();
require($_SERVER['DOCUMENT_ROOT'].'/include.php');
$_SESSION = array();
session_destroy();
mysqli_close($mysqli);
header("Location: $gameroot/index.html");
?>