First git commit
This commit is contained in:
8
public_html/logout.php
Normal file
8
public_html/logout.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
require_once __DIR__ . '/lib/bootstrap.php';
|
||||
$_SESSION['uid'] = null;
|
||||
unset($_SESSION['uid']);
|
||||
page_start('Logged out', ['back' => '/index.php']);
|
||||
p_ok('You are logged out.');
|
||||
p_links([['/index.php', 'Home'], ['/login.php', 'Log in again']]);
|
||||
page_end();
|
||||
Reference in New Issue
Block a user