Merge pull request #15404 from jfcherng/fix-php74-curly-braces
[phpmyadmin.git] / server_databases.php
bloba30d6795fac14ec952510b2003f536e04c6a1d40
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Handles server databases page.
6 * @package PhpMyAdmin
7 */
9 use PhpMyAdmin\Controllers\Server\ServerDatabasesController;
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\ServerDatabasesController'
19 $container->alias(
20 'ServerDatabasesController',
21 'PhpMyAdmin\Controllers\Server\ServerDatabasesController'
23 $container->set('PhpMyAdmin\Response', Response::getInstance());
24 $container->alias('response', 'PhpMyAdmin\Response');
26 /** @var ServerDatabasesController $controller */
27 $controller = $container->get(
28 'ServerDatabasesController', array()
30 $controller->indexAction();