8 lines
		
	
	
		
			171 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			171 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| use controller\db\Database;
 | |
| use controller\UserSession;
 | |
| 
 | |
| $_SESSION['usersession'] = null;
 | |
| Database::invalidateSession($_COOKIE['usersession']);
 | |
| session_destroy();
 | |
| ?>
 |