commit
de5eeb08c4
@ -593,10 +593,16 @@ namespace Oqtane.Repository
|
||||
// process site template
|
||||
if (string.IsNullOrEmpty(site.SiteTemplateType))
|
||||
{
|
||||
var section = _config.GetSection("SiteTemplate");
|
||||
var section = _config.GetSection("Installation:SiteTemplate");
|
||||
if (section.Exists())
|
||||
{
|
||||
site.SiteTemplateType = section.Value;
|
||||
if(string.IsNullOrEmpty(section.Value)){
|
||||
site.SiteTemplateType = Constants.DefaultSiteTemplate;
|
||||
}
|
||||
else
|
||||
{
|
||||
site.SiteTemplateType = section.Value;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user