phpmyadmin/transformation_overview.php
Maurício Meneghini Fauth 8e7bd8cd3f Create TransformationOverviewController
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2019-01-30 15:44:30 -02:00

31 lines
684 B
PHP

<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Lists available transformation plugins
*
* @package PhpMyAdmin
*/
declare(strict_types=1);
use PhpMyAdmin\Controllers\TransformationOverviewController;
use PhpMyAdmin\Response;
use PhpMyAdmin\Transformations;
if (! defined('ROOT_PATH')) {
define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);
}
require_once ROOT_PATH . 'libraries/common.inc.php';
$response = Response::getInstance();
$header = $response->getHeader();
$header->disableMenuAndConsole();
$controller = new TransformationOverviewController(
$response,
$GLOBALS['dbi'],
new Transformations()
);
$response->addHTML($controller->indexAction());