dragonpolls/logout.php
2021-04-05 15:04:47 +02:00

8 lines
161 B
PHP

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