khanat-code-old/code/web/public_php/ams/inc/logout.php

11 lines
250 B
PHP
Raw Normal View History

2014-06-12 17:27:09 +00:00
<?php
/**
* This function is beign used to load info that's needed for the logout page.
* it will just unset & destroy the session
* @author Daan Janssens, mentored by Matthew Lagoe
*/
function logout(){
session_unset();
session_destroy();
}