Added: HostHeader import. To ensure all pointers/hostheaders are within the

domains table.

This is mandatory to ensure a proper dns provisioning
This commit is contained in:
robvde 2012-10-26 12:11:44 +04:00
parent ff5aeda5f7
commit 2f42401a73
8 changed files with 401 additions and 68 deletions

View file

@ -50,7 +50,7 @@ namespace WebsitePanel.Portal
lnkImportResources.NavigateUrl = EditUrl(PortalUtils.SPACE_ID_PARAM, PanelSecurity.PackageId.ToString(), "import");
lnkBackup.Visible = lnkRestore.Visible = PortalUtils.PageExists("Backup");
lnkImportResources.Visible = (PanelSecurity.PackageId > 1 &&
lnkImportResources.Visible = (PanelSecurity.PackageId >= 1 &&
PanelSecurity.LoggedUser.Role == UserRole.Administrator);
if (PanelSecurity.SelectedUser.RoleId.Equals(1))