Fixed: In disabled hostheader mode site was created with default hostheader
value
This commit is contained in:
parent
e6acb85682
commit
6987940e59
4 changed files with 20 additions and 5 deletions
|
@ -51,7 +51,10 @@ namespace WebsitePanel.Portal
|
|||
txtHostName.Text = String.IsNullOrEmpty(settings["HostName"]) ? "" : settings["HostName"];
|
||||
}
|
||||
else
|
||||
lblHostName.Visible= txtHostName.Visible = false;
|
||||
{
|
||||
lblHostName.Visible = txtHostName.Visible = false;
|
||||
txtHostName.Text = "";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue