This commit is contained in:
2021-04-05 15:04:47 +02:00
parent ff31885c93
commit 7431986a96
2 changed files with 9 additions and 1 deletions

7
logout.php Normal file
View File

@ -0,0 +1,7 @@
<?php
require_once __DIR__ .'/bootstrap.php';
$api->logout();
$url = empty($_SERVER['HTTP_REFERER']) ? 'index.php' : $_SERVER['HTTP_REFERER'];
redirect($url);