PHP_SMART_HOME_V3/views/Logout.php
2019-08-23 13:39:42 +02:00

12 lines
175 B
PHP

<?php
class Logout extends Template
{
function __construct()
{
global $userManager;
$userManager->logout();
header('Location: /vasek/home/login', TRUE);
die();
}
}