2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Database structure manipulation
9 use PhpMyAdmin\Controllers\Database\DatabaseStructureController
;
10 use PhpMyAdmin\Di\Container
;
11 use PhpMyAdmin\Response
;
14 require_once 'libraries/common.inc.php';
15 require_once 'libraries/db_common.inc.php';
17 $container = Container
::getDefaultContainer();
19 'PhpMyAdmin\Controllers\Database\DatabaseStructureController'
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(
33 /** @var DatabaseStructureController $controller */
34 $controller = $container->get(
35 'DatabaseStructureController',
36 $dependency_definitions
38 $controller->indexAction();