Translated using Weblate (Bengali)
[phpmyadmin.git] / logout.php
blob01924339f3568edeabd63c5b252eda452406b1d8
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Logout script
6 * @package PhpMyAdmin
7 */
8 require_once 'libraries/common.inc.php';
10 if ($_SERVER['REQUEST_METHOD'] != 'POST' || $token_mismatch) {
11 PMA_sendHeaderLocation('./index.php');
12 } else {
13 $auth_plugin->logOut();