Location: PHPKode > scripts > WH Board > wh_board/admin/signout.php
<?php

    session_start();

    include_once('../framework/constants.php');
	include_once('../framework/config.php');
	include_once('../framework/mysql.php');
	include_once('../framework/language_admin.php');
	include_once('../framework/cache.php'); no_cache();

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

		$_SESSION['admin'] = NULL;
		$_SESSION = array();

        session_unset();
		session_destroy();
		}

    if(!isset($connect))
    return;

    mysql_close($connect);

?>
<?php require('management/admin_layout/header.php'); ?>

    <meta http-equiv="refresh" content="3;URL=signin.php">

    <br><br><br>

    <p class="success"><?php echo $lang['success_logged_out']; ?>!</p>
    <p><small>(<?php echo $lang['redirected_in']; ?>...)</small></p>

    </div>
</div>

<div class="clear"></div>

</div>

</body>
</html>
Return current item: WH Board