Translated using Weblate (Czech)
[phpmyadmin.git] / db_structure.php
blob09c4aee4e29da88833ae8538fafd15fe6db3c6ba
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Database structure manipulation
6 * @package PhpMyAdmin
7 */
9 use PhpMyAdmin\Controllers\Database\DatabaseStructureController;
10 use PhpMyAdmin\Di\Container;
11 use PhpMyAdmin\Response;
12 use PhpMyAdmin\Util;
14 require_once 'libraries/common.inc.php';
15 require_once 'libraries/db_common.inc.php';
17 $container = Container::getDefaultContainer();
18 $container->factory(
19 'PhpMyAdmin\Controllers\Database\DatabaseStructureController'
21 $container->alias(
22 'DatabaseStructureController',
23 'PhpMyAdmin\Controllers\Database\DatabaseStructureController'
25 $container->set('PhpMyAdmin\Response', Response::getInstance());
26 $container->alias('response', 'PhpMyAdmin\Response');
28 /* Define dependencies for the concerned controller */
29 $dependency_definitions = array(
30 'db' => $db,
33 /** @var DatabaseStructureController $controller */
34 $controller = $container->get(
35 'DatabaseStructureController',
36 $dependency_definitions
38 $controller->indexAction();