public function adminerAction()
{
$conf = \Pimcore\Config::getSystemConfig()->database->params;
if (empty($_SERVER["QUERY_STRING"])) {
$this->redirect("/admin/external_adminer/adminer/?username=" . $conf->username . "&db=" . $conf->dbname);
exit;
}
chdir($this->adminerHome . "adminer");
include $this->adminerHome . "adminer/index.php";
$this->removeViewRenderer();
}