FTP -> GIT (SYNC)
This commit is contained in:
11
app/views/Logout.php
Normal file
11
app/views/Logout.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
class Logout extends Template
|
||||
{
|
||||
function __construct()
|
||||
{
|
||||
global $userManager;
|
||||
$userManager->logout();
|
||||
header('Location: /vasek/home/login', TRUE);
|
||||
die();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user