PHP_SMART_HOME_V3/app/views/Logout.php

12 lines
186 B
PHP
Raw Normal View History

2020-05-16 15:18:27 +00:00
<?php
class Logout extends Template
{
function __construct()
{
2020-09-14 14:24:59 +00:00
$userManager = new UserManager ();
2020-05-16 15:18:27 +00:00
$userManager->logout();
header('Location: ' . BASEURL . 'login');
die();
}
}