first commit

This commit is contained in:
小喵 2022-07-11 18:09:15 +08:00 committed by Ming Tsay
commit db313f5eef
Signed by: mt
GPG key ID: 2BCF198BD3341FB3
47 changed files with 2006 additions and 0 deletions

14
webroot/logout.php Normal file
View 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');