2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Database structure manipulation
11 use PMA\libraries\controllers\database\DatabaseStructureController
;
12 use PMA\libraries\Response
;
13 use PMA\libraries\Util
;
15 require_once 'libraries/common.inc.php';
16 require_once 'libraries/db_common.inc.php';
18 $container = libraries\di\Container
::getDefaultContainer();
20 'PMA\libraries\controllers\database\DatabaseStructureController'
23 'DatabaseStructureController',
24 'PMA\libraries\controllers\database\DatabaseStructureController'
26 $container->set('PMA\libraries\Response', Response
::getInstance());
27 $container->alias('response', 'PMA\libraries\Response');
29 /* Define dependencies for the concerned controller */
30 $dependency_definitions = array(
32 'url_query' => &$GLOBALS['url_query'],
35 /** @var DatabaseStructureController $controller */
36 $controller = $container->get(
37 'DatabaseStructureController',
38 $dependency_definitions
40 $controller->indexAction();