Current File : /home/inlingua/public_html/sensoriumpsychologists.com/admin/logout.php
<?php
session_start();
if(!isset($_SESSION['user']))
{
	header("Location: index.php");
}
else if(isset($_SESSION['user'])!="")
{
	header("Location:adminzone.php");
}

if(isset($_GET['logout']))
{
	session_destroy();
	unset($_SESSION['user']);
	header("Location: index.php");
}
?>