Location: PHPKode > projects > eBlog > admin/logout.php
<?php

/**************************************************************************
 *                                                                        *
 *                                                                        *
 *         Solution: eBlog                                                *
 *          Release: 1.7                                                  *
 *             File: admin/logout.php                                     *
 *               By: Emuci inc.                                           *
 *          Website: http://www.emuci.com                                 *
 *        Copyright: (C) 2010 Emcui inc.                                  *
 *                                                                        *
 *                                                                        *
 **************************************************************************
 *                                                                        *
 *                                                                        *
 *   This script is NOT freeware and is subjected to Emuci terms of use   *
 *   located in the docs folder.                                          *
 *                                                                        *
 *                                                                        *
 *************************************************************************/



include '../includes/session.php';

if($_SESSION['permission'] == 1){
$_SESSION['permission'] = 0;
session_destroy();
echo "<meta http-equiv=\"refresh\" content=\"0;url=index.php\">";
}
else
{
echo "<meta http-equiv=\"refresh\" content=\"0;url=index.php\">";
}

	

	
?>
Return current item: eBlog