Installer mods.

This commit is contained in:
McMak 2015-04-27 20:21:09 +03:00
parent c22d6b60f3
commit 47adf43407
23 changed files with 1381 additions and 567 deletions

View file

@ -338,8 +338,8 @@ namespace WebsitePanel.Setup
/// <param name="domain"></param>
/// <returns></returns>
internal static string GetSid(string userAccount, string domain)
{
if(domain == null)
{
if(string.IsNullOrWhiteSpace(domain))
domain = Environment.MachineName;
// try to get user account