Location: PHPKode > scripts > WH Social > wh_social/admin/handler/exit.php
<?php

	if($_SESSION['admin'] == TRUE) {

		$_SESSION['admin'] = NULL;

		$_SESSION = array();

        session_unset();
		session_destroy();

		$sign_msg = '<p class="success">' . $lang['successfully_signed_out'] . '!</p>
        <p><small>(' . $lang['redirected_in'] . ' 3 ' . $lang['seconds'] . '...)</small></p>';

        }else{

        $sign_msg = '<p class="false">' . $lang['not_signed_in'] . ' - <a href="signin.php" class="false_link">' . $lang['now_sign_in'] . '</a></p>';
        }

    if(!isset($connect))
    return;

    mysql_close($connect);

?>
Return current item: WH Social