PHP_SMART_HOME_V3/app/views/Logout.php

12 lines
172 B
PHP
Raw Permalink Normal View History

2019-08-23 11:39:42 +00:00
<?php
class Logout extends Template
{
function __construct()
{
global $userManager;
$userManager->logout();
2019-10-11 14:32:05 +00:00
header('Location: ' . BASEDIR . 'login');
2019-08-23 11:39:42 +00:00
die();
}
}