mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Add version() to use in plugins
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user