use HTTP_HOST as title

This commit is contained in:
Pau Capó 2023-11-26 20:41:39 +01:00
parent 6e6f270df4
commit e38c8e7a8b
2 changed files with 6 additions and 3 deletions

View file

@ -91,8 +91,7 @@ class AdminerPlugin extends Adminer {
// applyPlugin
function name() {
$args = func_get_args();
return $this->_applyPlugin(__FUNCTION__, $args);
return '<span class="title">' . $_SERVER['HTTP_HOST'] . '</span>';
}
function credentials() {