Trim whitespaces on jquery.sortableTable.js and add a copyright line
[phpmyadmin.git] / server_binlog.php
blob35d9c719f728a201db86f8a6a95fb713bf7d9aea
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Handles server binary log page.
6 * @package PhpMyAdmin
7 */
8 declare(strict_types=1);
10 use PhpMyAdmin\Controllers\Server\BinlogController;
11 use PhpMyAdmin\Response;
13 if (! defined('ROOT_PATH')) {
14 define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);
17 require_once ROOT_PATH . 'libraries/common.inc.php';
19 /** @var BinlogController $controller */
20 $controller = $containerBuilder->get(BinlogController::class);
22 /** @var Response $response */
23 $response = $containerBuilder->get(Response::class);
25 $response->addHTML($controller->indexAction([
26 'log' => $_POST['log'] ?? null,
27 'pos' => $_POST['pos'] ?? null,
28 'is_full_query' => $_POST['is_full_query'] ?? null,
29 ]));