Add version() to use in plugins

This commit is contained in:
Jakub Vrana 2018-02-07 12:49:53 +01:00
parent c8bb112a5d
commit 8a75cbc630

View file

@ -16,6 +16,14 @@ function adminer() {
return $adminer;
}
/** Get Adminer version
* @return string
*/
function version() {
global $VERSION;
return $VERSION;
}
/** Unescape database identifier
* @param string text inside ``
* @return string