12 lines
172 B
PHP
12 lines
172 B
PHP
<?php
|
|
class Logout extends Template
|
|
{
|
|
function __construct()
|
|
{
|
|
global $userManager;
|
|
$userManager->logout();
|
|
header('Location: ' . BASEDIR . 'login');
|
|
die();
|
|
}
|
|
}
|