projects
/
e-DoKo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some more comments
[e-DoKo.git]
/
include
/
logout.php
diff --git
a/include/logout.php
b/include/logout.php
index f2ebbaf00199c43842624d6d94810817cd94d8bd..3acabc30a94507aaa82475228f33b30991dadc95 100644
(file)
--- a/
include/logout.php
+++ b/
include/logout.php
@@
-1,13
+1,13
@@
<?php
<?php
-/* make sure that we are not called from outside the scripts,
+/* make sure that we are not called from outside the scripts,
* use a variable defined in config.php to check this
*/
if(!isset($HOST))
exit;
* use a variable defined in config.php to check this
*/
if(!isset($HOST))
exit;
-/* distroy the session */
+/*
to log a player out, all we need to do is to
distroy the session */
session_unset();
session_destroy();
$_SESSION = array();
session_unset();
session_destroy();
$_SESSION = array();
-
+
?>
\ No newline at end of file
?>
\ No newline at end of file