khanat-opennel-code/code/web/public_php/ams/inc/logout.php
botanic 80660b5146 FIX #200
dont crash when neldb is missing
2014-09-11 10:50:34 -07:00

10 lines
250 B
PHP

<?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();
}