1 2 3 4 5 6 7 8 9 10
<?php /** * Admin logout. * @package mirror * @subpackage admin */ require_once('../cfg/init.php'); require_once(LIB.'/auth.php'); Auth::logout(); header('Location: '.$_SERVER['HTTP_PROTO'].'://'.$_SERVER['HTTP_HOST'].WEBPATH.'/admin/login.php');