Windows Server 2012 (new project), IIS 8.0 and MS FTP 8.0 (existing IIS 7.0 provider with IsInstalled() tweaks).

Updates to update_db.sql script. Thanks Grzegorz for kicking off IIS 8 support.
This commit is contained in:
feodor_fitsner 2012-08-23 16:37:33 -07:00
parent 8dfab50a75
commit e93e97d9c9
10 changed files with 388 additions and 10 deletions

View file

@ -966,7 +966,7 @@ namespace WebsitePanel.Providers.FTP
}
RegistryKey ftp = root.OpenSubKey("SYSTEM\\CurrentControlSet\\Services\\ftpsvc");
bool res = value == 7 && ftp != null;
bool res = (value == 7 || value == 8) && ftp != null;
if (ftp != null)
ftp.Close();