PHP_SMART_HOME_V3/www/app/views/Logout.php

12 lines
172 B
PHP
Raw Normal View History

2019-08-23 11:39:42 +00:00
<?php
class Logout extends Template
{
function __construct()
{
global $userManager;
$userManager->logout();
2020-04-28 09:52:14 +00:00
header('Location: ' . BASEURL . 'login');
2019-08-23 11:39:42 +00:00
die();
}
}