server_binlog.php 785 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4. * Handles server binary log page.
  5. *
  6. * @package PhpMyAdmin
  7. */
  8. use PhpMyAdmin\Controllers\Server\ServerCollationsController;
  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\ServerBinlogController'
  15. );
  16. $container->alias(
  17. 'ServerBinlogController',
  18. 'PhpMyAdmin\Controllers\Server\ServerBinlogController'
  19. );
  20. $container->set('PhpMyAdmin\Response', Response::getInstance());
  21. $container->alias('response', 'PhpMyAdmin\Response');
  22. /** @var ServerBinlogController $controller */
  23. $controller = $container->get(
  24. 'ServerBinlogController', array()
  25. );
  26. $controller->indexAction();