Merge branch 'deploy' of git.gotenzing.com:tenzing/banners-with-skip into deploy
Showing
1 changed file
with
16 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 | //test | ||
| 13 | ?> | ||
| 14 | |||
| 15 | |||
| 16 | ... | ... |
-
Please register or sign in to post a comment