PHP_SMART_HOME_V3/views/Logout.php

12 lines
175 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();
header('Location: /vasek/home/login', TRUE);
die();
}
}