mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 17:14:07 +02:00
MySQL: Fix links to information_schema help
This commit is contained in:
@@ -338,10 +338,10 @@ if (!defined("DRIVER")) {
|
||||
function tableHelp($name) {
|
||||
$maria = preg_match('~MariaDB~', $this->_conn->server_info);
|
||||
if (information_schema(DB)) {
|
||||
return strtolower(($maria ? "information-schema-$name-table/" : str_replace("_", "-", $name) . "-table.html"));
|
||||
return strtolower("information-schema-" . ($maria ? "$name-table/" : str_replace("_", "-", $name) . "-table.html"));
|
||||
}
|
||||
if (DB == "mysql") {
|
||||
return ($maria ? "mysql$name-table/" : "system-database.html"); //! more precise link
|
||||
return ($maria ? "mysql$name-table/" : "system-schema.html"); //! more precise link
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user