diff options
Diffstat (limited to 'srcs/phpmyadmin/server_plugins.php')
| -rw-r--r-- | srcs/phpmyadmin/server_plugins.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/srcs/phpmyadmin/server_plugins.php b/srcs/phpmyadmin/server_plugins.php new file mode 100644 index 0000000..b8391e9 --- /dev/null +++ b/srcs/phpmyadmin/server_plugins.php @@ -0,0 +1,24 @@ +<?php +/* vim: set expandtab sw=4 ts=4 sts=4: */ +/** + * Handles server plugins page. + * + * @package PhpMyAdmin + */ +declare(strict_types=1); + +use PhpMyAdmin\Controllers\Server\PluginsController; +use PhpMyAdmin\Response; + +if (! defined('ROOT_PATH')) { + define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR); +} + +require_once ROOT_PATH . 'libraries/common.inc.php'; + +/** @var PluginsController $controller */ +$controller = $containerBuilder->get(PluginsController::class); + +/** @var Response $response */ +$response = $containerBuilder->get(Response::class); +$response->addHTML($controller->index()); |
