first commit
This commit is contained in:
commit
db313f5eef
47 changed files with 2006 additions and 0 deletions
14
webroot/logout.php
Normal file
14
webroot/logout.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
use MingTsay\Akanyan\App;
|
||||
|
||||
require_once __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
App::requireAuth();
|
||||
|
||||
if (isset($_POST['logout'])) {
|
||||
App::unsetU();
|
||||
App::render('logout/success');
|
||||
}
|
||||
|
||||
App::render('logout/form');
|
||||
Loading…
Add table
Add a link
Reference in a new issue