backup(); } // Recording Logout Info $usip=$_SERVER['REMOTE_ADDR']; $outtime=date("Y/m/d H:i:s"); $loghistory=new LoginHistory(); $loghistory->user_logout($current_user->user_name,$usip,$outtime); $local_log =& LoggerManager::getLogger('Logout'); // clear out the autthenticating flag session_destroy(); define("IN_LOGIN", true); // go to the login screen. header("Location: index.php?action=Login&module=Users"); ?>