Add version() to use in plugins
This commit is contained in:
parent
c8bb112a5d
commit
8a75cbc630
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue