always set site/server to hostname if it exists
This commit is contained in:
parent
06ed0bc791
commit
e2dee5fedb
@ -172,6 +172,10 @@ class Status_network extends DB_DataObject
|
|||||||
|
|
||||||
$config['site']['name'] = $sn->sitename;
|
$config['site']['name'] = $sn->sitename;
|
||||||
|
|
||||||
|
if (!empty($sn->hostname)) {
|
||||||
|
$config['site']['server'] = $sn->hostname;
|
||||||
|
}
|
||||||
|
|
||||||
if (!empty($sn->theme)) {
|
if (!empty($sn->theme)) {
|
||||||
$config['site']['theme'] = $sn->theme;
|
$config['site']['theme'] = $sn->theme;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user