4c206b37 by Jeff Balicki

test

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