2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Handles server databases page.
8 declare(strict_types
=1);
10 use PhpMyAdmin\Controllers\Server\ServerDatabasesController
;
11 use PhpMyAdmin\Di\Container
;
12 use PhpMyAdmin\Response
;
14 if (! defined('ROOT_PATH')) {
15 define('ROOT_PATH', __DIR__
. DIRECTORY_SEPARATOR
);
18 require_once ROOT_PATH
. 'libraries/common.inc.php';
20 $container = Container
::getDefaultContainer();
22 'PhpMyAdmin\Controllers\Server\ServerDatabasesController'
25 'ServerDatabasesController',
26 'PhpMyAdmin\Controllers\Server\ServerDatabasesController'
28 $container->set('PhpMyAdmin\Response', Response
::getInstance());
29 $container->alias('response', 'PhpMyAdmin\Response');
31 /** @var ServerDatabasesController $controller */
32 $controller = $container->get(
33 'ServerDatabasesController',
36 $controller->indexAction();