Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PSW2-D3TI01
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Julius Samosir
PSW2-D3TI01
Commits
b26663a9
Commit
b26663a9
authored
Jun 06, 2020
by
Visgha Olivia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
cf45f958
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
logout.php
logout.php
+13
-0
No files found.
logout.php
0 → 100644
View file @
b26663a9
<?php
require_once
'common/database.php'
;
if
(
isset
(
$_SESSION
[
'logged_in'
])){
unset
(
$_SESSION
[
'username'
]);
unset
(
$_SESSION
[
'logged_in'
]);
unset
(
$_SESSION
[
'id_role'
]);
session_destroy
();
}
header
(
"location: index.php"
);
?>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment