forked from unacms/una
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlogout.php
30 lines (23 loc) · 778 Bytes
/
logout.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/**
* Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
* CC-BY License - http://creativecommons.org/licenses/by/3.0/
*
* @defgroup TridentCore Trident Core
* @{
*/
ob_start();
require_once('./inc/header.inc.php');
require_once(BX_DIRECTORY_PATH_INC . "design.inc.php");
ob_end_clean();
bx_import('BxDolLanguages');
if (isset($_COOKIE['memberID']) && isset($_COOKIE['memberPassword']))
bx_logout();
$oTemplate = BxDolTemplate::getInstance();
$oTemplate->setPageNameIndex (BX_PAGE_TRANSITION);
$oTemplate->setPageHeader (_t('_Please Wait'));
$oTemplate->setPageContent ('page_main_code', MsgBox(_t('_Please Wait')));
$oTemplate->setPageContent ('url_relocate', BX_DOL_URL_ROOT);
send_headers_page_changed();
$oTemplate->getPageCode();
/** @} */