4c206b37 by Jeff Balicki

test

1 parent 30da50c6
Showing 1 changed file with 12 additions and 11 deletions
<?php
include_once("config.php");
if(array_key_exists('logout',$_GET))
{
unset($_SESSION['token']);
unset($_SESSION['google_data']); //Google session data unset
$gClient->revokeToken();
session_destroy();
header("Location:index.php");
}
?>
\ No newline at end of file
<?php
include_once("config.php");
if(array_key_exists('logout',$_GET))
{
unset($_SESSION['token']);
unset($_SESSION['google_data']); //Google session data unset
$gClient->revokeToken();
session_destroy();
header("Location:index.php");
}
?>
......