Example #1
0
 public function logout()
 {
     unset($_SESSION['id']);
     Session::regenerateSession();
     header("Location: index.php");
 }