Translated using Weblate (Dutch)
[phpmyadmin.git] / logout.php
blobff31a307a1c790fe7f001ad28cc9713c571ec1d2
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Logout script
6 * @package PhpMyAdmin
7 */
9 use PMA\libraries\Core;
11 require_once 'libraries/common.inc.php';
13 if ($_SERVER['REQUEST_METHOD'] != 'POST' || $token_mismatch) {
14 Core::sendHeaderLocation('./index.php');
15 } else {
16 $auth_plugin->logOut();