add logout logging
This commit is contained in:
1 parent
db392d915d
commit
448bffd2f5
1 file changed
+3
-2
+3
-2
@@ -1,10 +1,11 @@
|
||||
<?php
|
||||
include_once(__DIR__ . '/modules/Mail.php');
|
||||
include_once(__DIR__ . '/controller/DataController.php');
|
||||
include_once(__DIR__ . '/controller/LogController.php');
|
||||
|
||||
try {
|
||||
session_start();
|
||||
|
||||
logging();
|
||||
$_SESSION = array();
|
||||
|
||||
session_destroy();
|
||||
@@ -22,4 +23,4 @@ try {
|
||||
true,
|
||||
);
|
||||
exit();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user