always set site/server to hostname if it exists

This commit is contained in:
Evan Prodromou 2010-01-10 00:20:08 -08:00
parent 06ed0bc791
commit e2dee5fedb

View File

@ -172,6 +172,10 @@ class Status_network extends DB_DataObject
$config['site']['name'] = $sn->sitename;
if (!empty($sn->hostname)) {
$config['site']['server'] = $sn->hostname;
}
if (!empty($sn->theme)) {
$config['site']['theme'] = $sn->theme;
}