Merge tip
This commit is contained in:
commit
6847fc51de
5 changed files with 11 additions and 12 deletions
|
@ -165,7 +165,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
|
||||
// create domain
|
||||
int domainId = 0;
|
||||
if ((createWebSite || createMailAccount) && !String.IsNullOrEmpty(domainName))
|
||||
if ((createWebSite || createMailAccount || createZoneRecord) && !String.IsNullOrEmpty(domainName))
|
||||
{
|
||||
try
|
||||
{
|
||||
|
@ -193,7 +193,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
}
|
||||
}
|
||||
|
||||
if (createWebSite && !String.IsNullOrEmpty(domainName))
|
||||
if (createWebSite && (domainId > 0))
|
||||
{
|
||||
// create web site
|
||||
try
|
||||
|
@ -252,7 +252,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
}
|
||||
}
|
||||
|
||||
if (createMailAccount && !String.IsNullOrEmpty(domainName))
|
||||
if (createMailAccount && (domainId > 0))
|
||||
{
|
||||
// create default mailbox
|
||||
try
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<OutputPath>..\WebsitePanel.Server\bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue