1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-13 18:14:07 +02:00

MariaDB: Links to documentation

This commit is contained in:
Jakub Vrana
2018-02-08 13:56:22 +01:00
parent f0b7d8ccd0
commit 76d7560d27
6 changed files with 19 additions and 6 deletions

View File

@@ -315,11 +315,12 @@ if (!defined("DRIVER")) {
}
function tableHelp($name) {
$maria = preg_match('~MariaDB~', $this->_conn->server_info);
if (information_schema(DB)) {
return strtolower(str_replace("_", "-", $name)) . "-table.html";
return strtolower(($maria ? "information-schema-$name-table/" : str_replace("_", "-", $name) . "-table.html"));
}
if (DB == "mysql") {
return "system-database.html"; //! more precise link
return ($maria ? "mysql$name-table/" : "system-database.html"); //! more precise link
}
}