khanat-opennel-code/code/web/public_php/ams/inc/logout.php
shubham_meena c4ce26501c Merged in Gsoc14-ryzomAppImprovements (pull request #1)
Merging Gsoc 14 branch with default
2014-08-15 01:05:39 +05:30

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