summaryrefslogtreecommitdiffstats
path: root/include/logout.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/logout.php')
-rw-r--r--include/logout.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/logout.php b/include/logout.php
index f2ebbaf..3acabc3 100644
--- a/include/logout.php
+++ b/include/logout.php
@@ -1,13 +1,13 @@
<?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;
-/* distroy the session */
+/* to log a player out, all we need to do is to distroy the session */
session_unset();
session_destroy();
$_SESSION = array();
-
+
?> \ No newline at end of file