Translated using Weblate (Slovenian)
[phpmyadmin.git] / server_databases.php
blob9dcd589ee3f8ce52562640fd7374c2ab55b8fa8e
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 /**
5 * Handles server databases page.
7 * @package PhpMyAdmin
8 */
10 namespace PMA;
12 use PMA\libraries\controllers\server\ServerDatabasesController;
13 use PMA\libraries\Response;
15 require_once 'libraries/common.inc.php';
17 $container = libraries\di\Container::getDefaultContainer();
18 $container->factory(
19 'PMA\libraries\controllers\server\ServerDatabasesController'
21 $container->alias(
22 'ServerDatabasesController',
23 'PMA\libraries\controllers\server\ServerDatabasesController'
25 $container->set('PMA\libraries\Response', Response::getInstance());
26 $container->alias('response', 'PMA\libraries\Response');
28 /** @var ServerDatabasesController $controller */
29 $controller = $container->get(
30 'ServerDatabasesController', array()
32 $controller->indexAction();