Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
banners-with-skip
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
4c206b37
authored
2016-09-08 09:52:15 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
test
1 parent
30da50c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
logout.php
logout.php
View file @
4c206b3
<?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"
);
}
?>
...
...
Please
register
or
sign in
to post a comment