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

/*========================================================*\
||########################################################||
||#                                                      #||
||#     WB News v2.0.0                                   #||
||# ---------------------------------------------------- #||
||#     Copyright (c) 2004-2007                          #||
||#     Created: 23rd February 2007                      #||
||#     Filename: logout.php                             #||
||#                                                      #||
||########################################################||
/*========================================================*/

/**
 *  @author $Author: pmcilwaine $
 *	@version $Id: logout.php,v 1.1.2.1 2008/02/03 07:40:28 pmcilwaine Exp $
 */

require_once( "global.php" );

$auth->logout();
header( "location: " . dirname($_SERVER["SCRIPT_NAME"]) );
exit;

?>
Return current item: WB News