dragonpolls/logout.php

8 lines
161 B
PHP
Raw Permalink Normal View History

2021-04-05 13:04:47 +00:00
<?php
require_once __DIR__ .'/bootstrap.php';
$api->logout();
$url = empty($_SERVER['HTTP_REFERER']) ? 'index.php' : $_SERVER['HTTP_REFERER'];
redirect($url);