1
0
www.mikescher.com/www/pages/logout.php
2020-01-17 01:28:34 +01:00

17 lines
433 B
PHP

<?php
require_once (__DIR__ . '/../internals/website.php');
/** @var PageFrameOptions $FRAME_OPTIONS */ global $FRAME_OPTIONS;
/** @var URLRoute $ROUTE */ global $ROUTE;
/** @var Website $SITE */ global $SITE;
?>
<?php
$redirect = $ROUTE->parameter['logout_target'];
$SITE->clearLoginCookie();
?>
You have been logged out
<script> setTimeout(function () { window.location.href = "<?php echo $redirect; ?>"; }, 1000); </script>