Merge pull request #19691 from kamil-tekiela/Show-hostname
Show hostname on main page
This commit is contained in:
commit
cb123ef8a5
@ -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 }}
|
||||
|
||||
@ -158,6 +158,7 @@ final class HomeController implements InvocableController
|
||||
$serverCharset = Charsets::getServerCharset($this->dbi, $this->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