PHP_SMART_HOME_V3/www/app/views/Logout.php
2020-05-15 22:45:31 +02:00

12 lines
172 B
PHP

<?php
class Logout extends Template
{
function __construct()
{
global $userManager;
$userManager->logout();
header('Location: ' . BASEURL . 'login');
die();
}
}