server_engines.php 784 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * Handles server engines page.
  5. *
  6. * @package PhpMyAdmin
  7. */
  8. use PhpMyAdmin\Controllers\Server\ServerEnginesController;
  9. use PhpMyAdmin\Di\Container;
  10. use PhpMyAdmin\Response;
  11. require_once 'libraries/common.inc.php';
  12. $container = Container::getDefaultContainer();
  13. $container->factory(
  14. 'PhpMyAdmin\Controllers\Server\ServerEnginesController'
  15. );
  16. $container->alias(
  17. 'ServerEnginesController',
  18. 'PhpMyAdmin\Controllers\Server\ServerEnginesController'
  19. );
  20. $container->set('PhpMyAdmin\Response', Response::getInstance());
  21. $container->alias('response', 'PhpMyAdmin\Response');
  22. /** @var ServerEnginesController $controller */
  23. $controller = $container->get(
  24. 'ServerEnginesController', array()
  25. );
  26. $controller->indexAction();