Current File : /home/inlingua/www/sensoriumpsychologists.com/backup/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");
}
?>