logout.php 258 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 <?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"); } //test 2 ?>