Merge pull request #15404 from jfcherng/fix-php74-curly-braces
[phpmyadmin.git] / server_binlog.php
blobf7153da74301443e0bf2708e32b788eb0c73f7a7
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Handles server binary log page.
6 * @package PhpMyAdmin
7 */
9 use PhpMyAdmin\Controllers\Server\ServerCollationsController;
10 use PhpMyAdmin\Di\Container;
11 use PhpMyAdmin\Response;
13 require_once 'libraries/common.inc.php';
15 $container = Container::getDefaultContainer();
16 $container->factory(
17 'PhpMyAdmin\Controllers\Server\ServerBinlogController'
19 $container->alias(
20 'ServerBinlogController',
21 'PhpMyAdmin\Controllers\Server\ServerBinlogController'
23 $container->set('PhpMyAdmin\Response', Response::getInstance());
24 $container->alias('response', 'PhpMyAdmin\Response');
26 /** @var ServerBinlogController $controller */
27 $controller = $container->get(
28 'ServerBinlogController', array()
30 $controller->indexAction();