Location: PHPKode > scripts > SHDetect > joshf-SHDetect-f0c6c96/admin/logout.php
<?php

//SHDetect, Copyright Josh Fradley (http://github.com/joshf/SHDetect)

require_once("../config.php");

$uniquekey = UNIQUE_KEY;

session_start();

unset($_SESSION["is_logged_in_" . $uniquekey . ""]);

if (isset($_COOKIE["shdetectrememberme_" . $uniquekey . ""])) {
	setcookie("shdetectrememberme_" . $uniquekey . "", "", time()-86400);
}

header("Location: login.php?logged_out=true");
exit;

?>
Return current item: SHDetect