Location: PHPKode > projects > PBBoard > PBBoard_v2.1.4/Upload/modules/admin/logout.module.php
<?php

(!defined('IN_PowerBB')) ? die() : '';

define('IN_ADMIN',true);
define('STOP_STYLE',true);

include('common.php');

define('CLASS_NAME','PowerBBLogoutMOD');

class PowerBBLogoutMOD
{
	function run()
	{
		global $PowerBB;

		if ($PowerBB->_CONF['member_permission'])
		{
			setcookie($PowerBB->_CONF['admin_username_cookie'],'');
			setcookie($PowerBB->_CONF['admin_password_cookie'],'');

			$PowerBB->functions->redirect('admin.php',0);
		}
	}
}

?>
Return current item: PBBoard