mirror of
https://github.com/vrana/adminer.git
synced 2025-08-10 08:34:20 +02:00
Add version() to use in plugins
This commit is contained in:
@@ -16,6 +16,14 @@ function adminer() {
|
|||||||
return $adminer;
|
return $adminer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Get Adminer version
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
function version() {
|
||||||
|
global $VERSION;
|
||||||
|
return $VERSION;
|
||||||
|
}
|
||||||
|
|
||||||
/** Unescape database identifier
|
/** Unescape database identifier
|
||||||
* @param string text inside ``
|
* @param string text inside ``
|
||||||
* @return string
|
* @return string
|
||||||
|
Reference in New Issue
Block a user