Show hostname on main page
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
This commit is contained in:
parent
e1ced0051b
commit
2fa1c4ed2c
@ -182,6 +182,10 @@
|
||||
{{ t('Server:') }}
|
||||
{{ database_server.host }}
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
{{ t('Hostname:') }}
|
||||
{{ database_server.hostname }}
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
{{ t('Server type:') }}
|
||||
{{ database_server.type }}
|
||||
|
||||
@ -159,6 +159,7 @@ final class HomeController implements InvocableController
|
||||
$serverCharset = Charsets::getServerCharset($this->dbi, $config->selectedServer['DisableIS']);
|
||||
$databaseServer = [
|
||||
'host' => $hostInfo,
|
||||
'hostname' => $this->dbi->fetchValue('SELECT @@hostname;'),
|
||||
'type' => Util::getServerType(),
|
||||
'connection' => Generator::getServerSSL(),
|
||||
'version' => $this->dbi->getVersionString() . ' - ' . $this->dbi->getVersionComment(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user